=========in 11.10==============
problem:
ls /tmp and a space is added instead of /
solution:
sudo apt-get purge bash-completion
===========in 12.04=========
comment the following in /etc/bash_completion
source: http://stackoverflow.com/questions/11981764/bash-tab-completion-adds-extra-space-after-the-first-completion
problem:
ls /tmp and a space is added instead of /
solution:
sudo apt-get purge bash-completion
sudo apt-get install bash-completion
problem:
sudo does not autocomplete:
solution
add
complete -cf sudo
in .basrc of the user
===========in 12.04=========
comment the following in /etc/bash_completion
####
# makeinfo and texi2dvi are defined elsewhere.
#
#for i in a2ps awk bash bc bison cat colordiff cp csplit \
# curl cut date df diff dir du enscript env expand fmt fold gperf gprof \
# grep grub head indent irb ld ldd less ln ls m4 md5sum mkdir mkfifo mknod \
# mv netstat nl nm objcopy objdump od paste patch pr ptx readelf rm rmdir \
# sed seq sha{,1,224,256,384,512}sum shar sort split strip tac tail tee \
# texindex touch tr uname unexpand uniq units vdir wc wget who; do
# have $i && complete -F _longopt -o default $i
#done
source: http://stackoverflow.com/questions/11981764/bash-tab-completion-adds-extra-space-after-the-first-completion
No comments:
Post a Comment