zsh-users
 help / color / mirror / code / Atom feed
* cd with wildcard fails instead cd's to home
@ 2021-04-27 12:46 zzapper
  2021-04-27 14:01 ` Peter Stephenson
  0 siblings, 1 reply; 3+ messages in thread
From: zzapper @ 2021-04-27 12:46 UTC (permalink / raw)
  To: zsh-users

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



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

end of thread, other threads:[~2021-04-27 14:50 UTC | newest]

Thread overview: 3+ messages (download: mbox.gz / follow: Atom feed)
-- links below jump to the message on this page --
2021-04-27 12:46 cd with wildcard fails instead cd's to home zzapper
2021-04-27 14:01 ` Peter Stephenson
2021-04-27 14:50   ` zzapper

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