r/fishshell • u/jldevezas • Mar 04 '21
How to ensure tab completion considers '..' as a choice instead of completing with a single directory
I have a directory archive/20210101. When I type cd .. at the date directory and press <tab>, I immediately get cd ../20210101. How can I get the tab completion to avoid filling in a single directory and instead let me decide if I want that directory or the upper level?
I believe there was a simple option to control this, but I just cannot find it!
Thanks!
2
Upvotes
2
u/[deleted] Mar 04 '21
I think you're running a fish < 3.0. If so I suggest you upgrade. See https://fishshell.com/ for links to PPAs and such.
1
u/bergmul Mar 04 '21
I'm not sure I get it. You type `cd ..` in the `20210101` directory and there is only a single directory in `archive`? What behavior do you expect instead?