Tuesday 8 May 2012

Enable auto-completition in bash


To enable autocomplete in bash just add to ~/.bashrc this lines:

# enable programmable completion features (you don't need to enable
# this, if it's already enabled in /etc/bash.bashrc and /etc/profile
# sources /etc/bash.bashrc).
if [ -f /etc/bash_completion ] && ! shopt -oq posix; then
    . /etc/bash_completion
fi

No comments:

Post a Comment