Wrap pyenv in conditional

This commit is contained in:
Nicole Tietz-Sokolskaya 2018-07-23 10:24:12 -04:00
parent e9937a60ea
commit 0c1ac3bff2
2 changed files with 6 additions and 3 deletions

View file

@ -27,8 +27,10 @@ export PATH=$PATH:~/.bin
export TERM=xterm-256color export TERM=xterm-256color
# Installed with https://github.com/pyenv/pyenv-installer # Installed with https://github.com/pyenv/pyenv-installer
if [ -x "$(command -v pyenv)" ]
then
eval "$(pyenv init -)" eval "$(pyenv init -)"
#eval "$(pyenv virtualenv-init -)" fi
source $HOME/.install/google-cloud-sdk/completion.bash.inc source $HOME/.install/google-cloud-sdk/completion.bash.inc
source $HOME/.install/google-cloud-sdk/path.bash.inc source $HOME/.install/google-cloud-sdk/path.bash.inc

View file

@ -32,7 +32,7 @@ alias bottomHalf move ${originX};${originY}+${oneHalfHeight} ${width};${oneHalfH
alias leftOneThird move ${originX};${originY} ${oneThirdWidth};${height} alias leftOneThird move ${originX};${originY} ${oneThirdWidth};${height}
alias leftTwoThirds move ${originX};${originY} ${twoThirdsWidth};${height} alias leftTwoThirds move ${originX};${originY} ${twoThirdsWidth};${height}
alias centerOneThird move ${originX} + ${oneThirdWidth};${originY} ${oneThirdWidth};${height} alias centerOneThird move (${originX}+${oneThirdWidth});${originY} ${oneThirdWidth};${height}
alias rightTwoThirds move (${originX}+${oneThirdWidth});${originY} ${twoThirdsWidth};${height} alias rightTwoThirds move (${originX}+${oneThirdWidth});${originY} ${twoThirdsWidth};${height}
alias rightOneThird move (${originX}+${twoThirdsWidth});${originY} ${oneThirdWidth};${height} alias rightOneThird move (${originX}+${twoThirdsWidth});${originY} ${oneThirdWidth};${height}
@ -62,6 +62,7 @@ bind up:${movetrigger} ${topHalf}
bind down:${movetrigger} ${bottomHalf} bind down:${movetrigger} ${bottomHalf}
bind left:${extramovetrigger} ${leftOneThird} bind left:${extramovetrigger} ${leftOneThird}
bind right:${extramovetrigger} ${rightOneThird} bind right:${extramovetrigger} ${rightOneThird}
bind m:${extramovetrigger} ${centerOneThird}
bind up:${extramovetrigger} ${leftTwoThirds} bind up:${extramovetrigger} ${leftTwoThirds}
bind down:${extramovetrigger} ${rightTwoThirds} bind down:${extramovetrigger} ${rightTwoThirds}