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

cd with wildcard fails instead cd's to home



Hi

# my environment

# trying to cd to a directory that doesn't exist with a wildcard I just want it fail

~/Videos/kdenlivedemo > cd gggg
cd: no such file or directory: gggg

~/Videos/kdenlivedemo >

~/Videos/kdenlivedemo > cd gggg*
~ >      # <<<< BAD I've cd'd to home -- no warning message

 ~ > which cd
cd: shell built-in command

zsh -f  # clean enviroment

~/Videos/kdenlivedemo > cd gggg
cd: no such file or directory: gggg
~/Videos/kdenlivedemo > cd *gggg
zsh: no matches found: *gggg
~/Videos/kdenlivedemo >    ## <<< GOOD I stay where I am

Please tell me it's something dumb!

zzapper





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