zsh-users
 help / color / mirror / code / Atom feed
* Dynamically adding to $mailpath?
@ 2002-12-19 11:22 Aidan Kehoe
  2002-12-19 11:41 ` Phil Pennock
  2002-12-19 11:42 ` Borzenkov Andrey
  0 siblings, 2 replies; 6+ messages in thread
From: Aidan Kehoe @ 2002-12-19 11:22 UTC (permalink / raw)
  To: zsh-users


Hiya, 

Should this; 

  typeset -a mailpath
  for i in ~/mail/*.spool; do 
    set $mailpath[$#mailpath+1]="${i}?You have new mail in $(basename $i .spool)."; 
  done

have worked? I got around it by using $MAILPATH, but 

  zsh: /home/hcksplat/mail/X.spool?You have new mail in X. not found
  $ 

doesn't seem right to me. ZSH_VERSION=4.0.4, setopt gives nobeep,
correct, noglobalrcs, histignoredups, histignorespace, interactive,
monitor, shinstdin.

Thanks, 

	Aidan Kehoe
-- 
It's time to put on makeup/It's time to dress up right,
It's time to raise the curtain on the Muppet Show tonight,


^ permalink raw reply	[flat|nested] 6+ messages in thread

end of thread, other threads:[~2002-12-19 12:47 UTC | newest]

Thread overview: 6+ messages (download: mbox.gz / follow: Atom feed)
-- links below jump to the message on this page --
2002-12-19 11:22 Dynamically adding to $mailpath? Aidan Kehoe
2002-12-19 11:41 ` Phil Pennock
2002-12-19 11:42 ` Borzenkov Andrey
2002-12-19 12:03   ` Aidan Kehoe
2002-12-19 12:30     ` Borzenkov Andrey
2002-12-19 12:47   ` Phil Pennock

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).