Skip to content

Commit

Permalink
Fix bug
Browse files Browse the repository at this point in the history
bash: test: -oq: binary operator expected
  • Loading branch information
elifarley committed Apr 15, 2016
1 parent ef91bd8 commit 3b3e8e0
Showing 1 changed file with 5 additions and 7 deletions.
12 changes: 5 additions & 7 deletions .bashrc
Original file line number Diff line number Diff line change
Expand Up @@ -17,13 +17,11 @@ test -f ~/.bash_private.gpg && \
# 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
}
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 3b3e8e0

Please sign in to comment.