Zsh Mailing List Archive
Messages sorted by:
Reverse Date,
Date,
Thread,
Author
cd "" foo bug?
- X-seq: zsh-users 21146
- From: Dominik Vogt <vogt@xxxxxxxxxxxxxxxxxx>
- To: Zsh Users <zsh-users@xxxxxxx>
- Subject: cd "" foo bug?
- Date: Mon, 11 Jan 2016 12:20:26 +0100
- List-help: <mailto:zsh-users-help@zsh.org>
- List-id: Zsh Users List <zsh-users.zsh.org>
- List-post: <mailto:zsh-users@zsh.org>
- Mail-followup-to: Zsh Users <zsh-users@xxxxxxx>
- Mailing-list: contact zsh-users-help@xxxxxxx; run by ezmlm
- Reply-to: vogt@xxxxxxxxxxxxxxxxxx
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
Messages sorted by:
Reverse Date,
Date,
Thread,
Author