[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]
Re: [PATCH] added -- in autocd
From: |
Ángel González |
Subject: |
Re: [PATCH] added -- in autocd |
Date: |
Tue, 28 Apr 2015 23:43:47 +0200 |
On Tue, 2015-04-28 at 21:27 +0200, isabella parakiss wrote:
> I'm sorry, I added a link to a pastebin in my previous message but
> it's not available anymore.
> Anyway, this was the content (posted by Score_Under in #bash):
>
> I think -- should enter said directory.
> I hope it's ok...
It may be easier to visualize in a different order:
score@kirisame ~/downloads $ shopt -s autocd
score@kirisame ~/downloads $ --
bash: --: command not found
score@kirisame ~/downloads $ mkdir -- --
score@kirisame ~/downloads $ --
cd --
score@kirisame ~ $ pwd
/home/kirisame
Expected outcome:
To be in /home/kirisame/downloads/--
And yes, I agree it's a bug and should have entered there.