bug-bash
[Top][All Lists]
Advanced

[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:
address@hidden ~/downloads $ shopt -s autocd
address@hidden ~/downloads $ --
bash: --: command not found
address@hidden ~/downloads $ mkdir -- --
address@hidden ~/downloads $ --
cd --
address@hidden ~ $ pwd
/home/kirisame

Expected outcome: 
 To be in /home/kirisame/downloads/--


And yes, I agree it's a bug and should have entered there.



reply via email to

[Prev in Thread] Current Thread [Next in Thread]