Zsh Mailing List Archive
Messages sorted by:
Reverse Date,
Date,
Thread,
Author
cd with wildcard fails instead cd's to home
- X-seq: zsh-users 26706
- From: zzapper <zsh@xxxxxxxxxxxxxx>
- To: zsh-users@xxxxxxx
- Subject: cd with wildcard fails instead cd's to home
- Date: Tue, 27 Apr 2021 13:46:54 +0100
- Archived-at: <https://zsh.org/users/26706>
- List-id: <zsh-users.zsh.org>
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