Zsh Mailing List Archive
Messages sorted by:
Reverse Date,
Date,
Thread,
Author
Re: cd x x.something
- X-seq: zsh-users 22903
- From: Dominik Vogt <dominik.vogt@xxxxxx>
- To: zsh-users@xxxxxxx
- Subject: Re: cd x x.something
- Date: Mon, 25 Sep 2017 08:25:32 +0100
- In-reply-to: <20170925021928.kmibsqzal2biy6w2@solfire>
- 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@xxxxxxx
- Mailing-list: contact zsh-users-help@xxxxxxx; run by ezmlm
- References: <20170925021928.kmibsqzal2biy6w2@solfire>
- Reply-to: dominik.vogt@xxxxxx
On Mon, Sep 25, 2017 at 04:19:28AM +0200, tuxic@xxxxxxxxx wrote:
> . But suppose there are these two directories
>
> /a/b/ThisIsARedicoluousLongDirectoryNameWhichNoPersonWillReallyTypeInTwice
> /a/b/ThisIsARedicoluousLongDirectoryNameWhichNoPersonWillReallyTypeInTwice.bak
>
> and you are in the first one and you want to go to the seond one....
> do you really need to type in "ThisIsARedicoluousLongDirectoryNameWhichNoPersonWillReallyTypeInTwice"
> twice when you want to use this
>
> cd A B
You don't have to type the whole pth component, just the part you
want to replace:
$ cd e e.bak
(unfortunately the first argument cannot be empty; "cd '' .bak"
does not work (why?)).
Or to get back, even
$ cd .bak ""
Ciao
Dominik ^_^ ^_^
--
Dominik Vogt
Messages sorted by:
Reverse Date,
Date,
Thread,
Author