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

(N) defaults to whole directory listing



Is this really what we want?

   $ ls -1 no_such_file
   ls: cannot access 'no_such_file': No such file or directory

   $ ls -1 no_such_file 2> /dev/null

   $ ls -1 no_such_file(N)
   aaa
   aa-messagefunctions
   aliases
   aliases,1,remove _find_match
   aliases,2,STARTCOM
   ...

   ....  lists the whole directory.  It's not exactly what one might
   expect. I can see that if the argument 'disappears' entirely then
   'ls' thinks 'ls *' but shouldn't 'ls' be in a 'not found' condition
   rather than a 'list all' condition?






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