- To: slug@xxxxxxxxxxx
- Subject: Re: [SLUG] Mutt and setting pithy single line quotes in sig :-)
- From: Mike Lake <Mike.Lake@xxxxxxxxxx>
- Date: Wed May 9 17:33:01 2001
- User-agent: Mutt/1.2.5i
On Wed, May 09, 2001 at 04:45:26PM +1000, Jobst Schmalenbach wrote:
> On Tue, May 08, 2001 at 01:15:59PM +1000, Michael Lake (mikel@xxxxxxxxxx) wrote:
> > Sometime ago someone posted (Jeff?) a script which you can set to run in
> > muttrc that runs fortune and sets the output into your sig. From what I
> > remember it wrote a sig to tmp and then used that. Have searched slug
> > archives for that with keywords mutt, quote, sig but can't find it. Can't
> > search woa at present or indeed slug again at moment as web is down, the
> > UTS can't seem to resolve any sites. The rain?
>
> here's another solution:
> make a ".signature" file like this:
> ------------------------------------------------------------
> %QUOTE%
> put whatever you like here what needs to be STATIC.
> ------------------------------------------------------------
ect...
> and from then one you signature will change automaperly!
Thanks jobst.
I ended up working it out myself just then. Here is how I did it.
In .muttrc I have:
folder-hook slug set signature="/home/mikel/bin/fortune.sig|"
the script fortune.sig is:
#!/bin/bash
# Create a short fortune to go before my email sig
echo `fortune -s`
echo
cat ~/.signature
--
Green light in A.M. for new projects. Red light in P.M. for traffic tickets.
Michael Lake, University of Technology, Sydney
Work: Mike.Lake@xxxxxxxxxx Ph: 02 9514 1724 Fx: 02 9514 1628
Home: http://www.speleonics.com.au
Linux enthusiast, active caver and interested in anything technical.
***********************************