简体   繁体   中英

bash tab completion issues with ubuntu 12.04

I am having an issue with tab-completion that I am unable to solve. Specifically, whenever I try to tab-complete a directory, the completed directory name appears with a space following it instead of a forward slash to complete the rest. for example

~$ python ~/sof

tab-completes to

~$ python ~/software<space>

Instead of

~$ python ~/software/

Interestingly this does not happen with cd but with everything else it does.

Apparently it is a known bug. Deleting /etc/bash_completion.d/acroread.sh solved the issue.

The technical post webpages of this site follow the CC BY-SA 4.0 protocol. If you need to reprint, please indicate the site URL or the original address.Any question please contact:yoyou2525@163.com.

 
粤ICP备18138465号  © 2020-2024 STACKOOM.COM