zsh-users
 help / color / mirror / code / Atom feed
* cd "" foo bug?
@ 2016-01-11 11:20 Dominik Vogt
  2016-01-11 11:58 ` Peter Stephenson
  0 siblings, 1 reply; 6+ messages in thread
From: Dominik Vogt @ 2016-01-11 11:20 UTC (permalink / raw)
  To: Zsh Users

cd with two arguments works fine if the second argument is an
empty string, but not if the first argument is an empty string.
Shouldn't it try all possible positions for the "" instead of just
the first one?

 $ cd ~/gcc/build/gcc
 $ builtin cd build ""
 ~/gcc/gcc
 $ builtin cd "" build
 cd: no such file or directory: build/home/user/gcc/gcc

 $ zsh --version
 zsh 5.0.2 (s390x-ibm-linux-gnu)                                             

Ciao

Dominik ^_^  ^_^

-- 

Dominik Vogt
IBM Germany


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

end of thread, other threads:[~2016-01-15 19:34 UTC | newest]

Thread overview: 6+ messages (download: mbox.gz / follow: Atom feed)
-- links below jump to the message on this page --
2016-01-11 11:20 cd "" foo bug? Dominik Vogt
2016-01-11 11:58 ` Peter Stephenson
2016-01-15  9:45   ` Dominik Vogt
2016-01-15 10:41     ` Peter Stephenson
2016-01-15 11:29       ` Dominik Vogt
2016-01-15 19:34         ` Bart Schaefer

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