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

Re: multiple OSes



Michael Hernandez wrote:
> 
> this way I keep my path tidy and zsh doesn't bother looking in dirs  
> that don't exist.

You don't need the for loop to tidy up non-existant directories. The
following should do the trick:
  path=( $^path(N) )

Also useful is to add typeset -U path to be sure there are no
duplicates.

Oliver



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