* changing the mail message with $MAILPATH
@ 1997-04-23 15:14 Roderick Schertler
1997-04-23 16:24 ` Zefram
0 siblings, 1 reply; 2+ messages in thread
From: Roderick Schertler @ 1997-04-23 15:14 UTC (permalink / raw)
To: zsh-users
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 $_')
without doing something like
for file in foo bar baz
do
mailpath=($mailpath "$file?New mail in $file")
done
and without separating mailboxes out into their own directory?
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.
--
Roderick Schertler
roderick@argon.org
^ permalink raw reply [flat|nested] 2+ messages in thread
* Re: changing the mail message with $MAILPATH
1997-04-23 15:14 changing the mail message with $MAILPATH Roderick Schertler
@ 1997-04-23 16:24 ` Zefram
0 siblings, 0 replies; 2+ messages in thread
From: Zefram @ 1997-04-23 16:24 UTC (permalink / raw)
To: Roderick Schertler; +Cc: zsh-users
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
^ permalink raw reply [flat|nested] 2+ messages in thread
end of thread, other threads:[~1997-04-23 16:31 UTC | newest]
Thread overview: 2+ messages (download: mbox.gz / follow: Atom feed)
-- links below jump to the message on this page --
1997-04-23 15:14 changing the mail message with $MAILPATH Roderick Schertler
1997-04-23 16:24 ` Zefram
Code repositories for project(s) associated with this public inbox
https://git.vuxu.org/mirror/zsh/
This is a public inbox, see mirroring instructions
for how to clone and mirror all data and code used for this inbox;
as well as URLs for NNTP newsgroup(s).