Wednesday 14 September 2011

Bash autocomplete is turned off by default in Torrent Server

Gah! Can't believe this feature is turned off in stock installations of Torrent Server. :)
Thankfully Ubuntu documentation is a plenty
http://embraceubuntu.com/2006/01/28/turn-on-bash-smart-completion/

To enable smart completion, edit your /etc/bash.bashrc file. Uncomment the following lines, by removing the # in the beginning of the lines:

#if [ -f /etc/bash_completion ]; then
# . /etc/bash_completion
#fi



Update: hmmm got bash completion to work for admin user but not the ionguest .. suspect is some bash issues :(

Update 2: yes the reason is because the default bash login shell is /bin/sh and not /bin/bash which you can change using the chsh command
tip courtesy of
http://linuxwave.blogspot.com/2009/03/changing-default-shell-in-ubuntu.html

No comments:

Post a Comment

Datanami, Woe be me