Let's say that I have this tree architecture:
~/user |_____ dir0 |_____ symlink0 | |_______ somefile0 |_____ symlink1 |_______ somefile1 |_______ somefile2
If I'm doing this:
cd cd symlink0/ cd ../[tab][tab]
I expect it to display the content of ~/user:
dir0 symlink0 symlink1
So I can do something like:
But instead it is auto-completing directly to...
... with only one [tab] key press.
Any suggestion? Thanks!
EDIT: on another computer it does not autocomplete at all, even with a 'real' directory as in my above example. In the case of multiple directories it is either not autocompleting at all (no proposition of possible directories) or just autocompleting to the first directory, depending on the machine used.
Note that this happens only when trying to reach directories that are above in the tree structure (e.g.
cd ./path/to/sym # press [tab][tab] will output
symlink0 symlink1 to choose from if ./path/to contains two symlinks.)