Re: executing commands in muttrc
-----BEGIN PGP SIGNED MESSAGE-----
Hash: SHA1
On Thursday, August 24 at 09:53 PM, quoth Michelle Konzack:
>I have a setting
>
> set display_filter=`tdmuttsettings --display-filter`
>
>which works nice, if I am under X because it popup a Xdialog which
>let me choose,
Okay...
>but now, if I do the same in a folder-hook like
>
> folder-hook SPAM '`tdmuttsettings --display-filter`'
>
>it tell me, that I have to use "usage: set variable=yes|no"
>
>How can I get this running?
Like so:
folder-hook SPAM 'set display_filter=`tdmuttsettings --display-filter`'
>And, how can I execute a command only like
>
> folder-hook Friend '`rplay some_love_song.wav`'
That should work, as long as rplay doesn't generate any output
(redirect it to /dev/null if it does).
~Kyle
- --
Truth springs from argument amongst friends.
-- David Hume
-----BEGIN PGP SIGNATURE-----
Comment: Thank you for using encryption!
iD8DBQFE72NMBkIOoMqOI14RAgSPAJ0cymx8d72q5w2iXXKoXopDaGCAlACfQlYL
F4SkxJRFDs2PHLkPV2ewZWY=
=oM3n
-----END PGP SIGNATURE-----