Is there a way to stop "cd" with no argument from going home?
Alternatively, is there a way to make tab completion with nothing typed, in a
directory with only one non-dot file, to match that one file?
My issue: I type "ls", see only the directory that I want to go to, hit "cd
", and it fails
On 28 Jul 2015, at 11:06, Michael wrote:
> Is there a way to stop "cd" with no argument from going home?
Alias cd='cd /not/home' but that would be a terrible idea.
> Alternatively, is there a way to make tab completion with nothing typed, in a
> directory with only one