X-Git-Url: https://git.phdru.name/?a=blobdiff_plain;f=.shellrc;h=8adc256b252b15555dfcd0c60ababafd72511d6a;hb=3db0fedaf633d333a03a923e6361346542839642;hp=76f81950b8375407bed0f521105612c16102653f;hpb=f74cdd5fbf0ead8d188607abce07297a9e352460;p=dotfiles.git diff --git a/.shellrc b/.shellrc index 76f8195..8adc256 100644 --- a/.shellrc +++ b/.shellrc @@ -38,10 +38,6 @@ shopt -s checkwinsize #fi -OPS1="$OPS1\\$" -PS1="$OPS1 " - - case "$HOME" in /home/*) if [ -L /home ]; then @@ -53,6 +49,11 @@ case "$HOME" in ;; esac + +OPS1="$OPS1\\$" +PS1="$OPS1 " + + case "$SHELL" in */bash) [ "`type -t ls`" = alias ] && unalias ls @@ -277,3 +278,12 @@ tmux() { ;; esac } + + +if [ -f /usr/local/bin/virtualenvwrapper_lazy.sh ]; then + source /usr/local/bin/virtualenvwrapper_lazy.sh +fi + +if which pyenv >/dev/null 2>&1; then + eval "`pyenv init -`" +fi