|
|
|
alias dc=docker-compose
|
|
|
|
|
|
|
|
if which apt-get 2>&1 >/dev/null; then
|
|
|
|
alias ack=ack-grep
|
|
|
|
if [ -e "/usr/local/bin/virtualenvwrapper.sh" ]; then
|
|
|
|
source /usr/local/bin/virtualenvwrapper.sh
|
|
|
|
fi
|
|
|
|
if [ -e "/etc/bash_completion.d/virtualenvwrapper" ]; then
|
|
|
|
source /etc/bash_completion.d/virtualenvwrapper
|
|
|
|
fi
|
|
|
|
if [ -e "/usr/lib/rbenv/completions/rbenv.zsh" ]; then
|
|
|
|
source /usr/lib/rbenv/completions/rbenv.zsh
|
|
|
|
eval "$(rbenv init -)"
|
|
|
|
fi
|
|
|
|
fi
|
|
|
|
|
|
|
|
if which pacman 2>&1 >/dev/null; then
|
|
|
|
if [ -e "/usr/bin/virtualenvwrapper.sh" ]; then
|
|
|
|
source /usr/bin/virtualenvwrapper.sh
|
|
|
|
fi
|
|
|
|
fi
|
|
|
|
|
|
|
|
if [ -e "/home/asmaps/.rvm/scripts/rvm" ]; then
|
|
|
|
source /home/asmaps/.rvm/scripts/rvm
|
|
|
|
fi
|
|
|
|
|
|
|
|
# autostart tmux
|
|
|
|
if [ "$TMUX" = "" ]; then
|
|
|
|
export TERM=xterm-256color
|
|
|
|
if which tmux 2>&1 >/dev/null; then
|
|
|
|
tmux attach || tmux new-session
|
|
|
|
fi
|
|
|
|
else
|
|
|
|
export TERM=screen-256color
|
|
|
|
fi
|
|
|
|
|
|
|
|
if which xset 2>&1 >/dev/null; then
|
|
|
|
xset -b
|
|
|
|
fi
|
|
|
|
|
|
|
|
# deactivate ctrl+s
|
|
|
|
stty -ixon
|