Zsh Mailing List Archive
Messages sorted by: Reverse Date, Date, Thread, Author

Re: cd "" foo bug?



On Jan 15, 12:29pm, Dominik Vogt wrote:
}
} Any chance to at fix "--" so that
} 
}   cd -- -1
}   cd -- +1
}   cd -- -q
} 
} actually work?

That last one DOES work.  The -- option will prevent anything that looks
like an option from being interpreted as an option.  The only special
case is with digits after the +/-.

Changing that is messy because of the way bin_cd() is structured -- a
new flag would have to be passed to cd_get_dest() to tell it not to use
the directory stack, among other things.



Messages sorted by: Reverse Date, Date, Thread, Author