Skip to content

Commit

Permalink
Improved bash_completion handling
Browse files Browse the repository at this point in the history
  • Loading branch information
elifarley committed Apr 15, 2016
1 parent 14d7d5d commit ef91bd8
Showing 1 changed file with 10 additions and 4 deletions.
14 changes: 10 additions & 4 deletions .bashrc
Original file line number Diff line number Diff line change
Expand Up @@ -14,10 +14,16 @@ test -r ~/.shell-env && . ~/.shell-env
test -f ~/.bash_private.gpg && \
eval "$(gpg --decrypt ~/.bash_private.gpg 2>/dev/null)"

# smart advanced completion, download from
# http://bash-completion.alioth.debian.org/
test -f ~/local/bin/bash_completion && \
. ~/local/bin/bash_completion
# 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).
test ! shopt -oq posix && {
test -f /usr/share/bash-completion/bash_completion && . /usr/share/bash-completion/bash_completion
test -f /etc/bash_completion && . /etc/bash_completion
# smart advanced completion, download from
# http://bash-completion.alioth.debian.org/
test -f ~/local/bin/bash_completion && . ~/local/bin/bash_completion
}

# http://unix.stackexchange.com/questions/72086/ctrl-s-hang-terminal-emulator
# See "The TTY demystified" - http://linusakesson.net/programming/tty/index.php
Expand Down

0 comments on commit ef91bd8

Please sign in to comment.