fish's tab completion sorts folder names with the slash. So a folder named "a b" is sorted before "a", which doesn't obey conventional ordering.
cd (mktemp -d)
mkdir a 'a b'
ls <tab>
will output
I'm pretty sure this is unintended behaviour. I know ls doesn't do this, even if you do ls -F (which displays folders with a trailing slash).
fish 4.6.0
fish's tab completion sorts folder names with the slash. So a folder named "a b" is sorted before "a", which doesn't obey conventional ordering.
will output
I'm pretty sure this is unintended behaviour. I know ls doesn't do this, even if you do
ls -F(which displays folders with a trailing slash).fish 4.6.0