Zsh Mailing List Archive
Messages sorted by: Reverse Date, Date, Thread, Author

Re: changing the mail message with $MAILPATH



Roderick Schertler wrote:
>Is there a way to change the default message you get when you have new
>mail?  That is, a way to prevent the repetition in
>
>    mailpath=('foo?New mail in $_'
>    	    	'bar?New mail in $_'
>		'baz?New mail in $_')

mailpath=( {foo,bar,baz}'?New mail in $_' )

>If there isn't, how about adding one?  A possible syntax would be that
>an element of the array which starts with ? would change the default
>message from the next element forward.

That would be reasonable.

-zefram



Messages sorted by: Reverse Date, Date, Thread, Author