25
8
I have this problem with tab-completion in terminal in both archlinux and ubuntu:
I have a link which links to a directory named "something" in my home directory. Now when I open a terminal and want to do something with that directory, let's say just cd
, I'd type cd somet
and then hit tab because now "something" is the only possibility it gets completed.
The problem is that there is no slash after something (as there should be since it's a link to a directory). I have to hit tab one more time for the slash to appear.
Is there a way to fix this, ie. so that the slash appears directly?
1Don't forget to include the default file in /etc/inputrc. Otherwise things like ctrl left won't work anymore. $include /etc/inputrc – keiki – 2016-09-19T08:00:28.977
2Noteworthy: this also works for OSX – isakkarlsson – 2013-10-06T20:07:49.870