Wrap pyenv in conditional
This commit is contained in:
parent
e9937a60ea
commit
0c1ac3bff2
2 changed files with 6 additions and 3 deletions
|
@ -27,8 +27,10 @@ export PATH=$PATH:~/.bin
|
|||
export TERM=xterm-256color
|
||||
|
||||
# Installed with https://github.com/pyenv/pyenv-installer
|
||||
eval "$(pyenv init -)"
|
||||
#eval "$(pyenv virtualenv-init -)"
|
||||
if [ -x "$(command -v pyenv)" ]
|
||||
then
|
||||
eval "$(pyenv init -)"
|
||||
fi
|
||||
|
||||
source $HOME/.install/google-cloud-sdk/completion.bash.inc
|
||||
source $HOME/.install/google-cloud-sdk/path.bash.inc
|
||||
|
|
|
@ -32,7 +32,7 @@ alias bottomHalf move ${originX};${originY}+${oneHalfHeight} ${width};${oneHalfH
|
|||
|
||||
alias leftOneThird move ${originX};${originY} ${oneThirdWidth};${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 rightOneThird move (${originX}+${twoThirdsWidth});${originY} ${oneThirdWidth};${height}
|
||||
|
||||
|
@ -62,6 +62,7 @@ bind up:${movetrigger} ${topHalf}
|
|||
bind down:${movetrigger} ${bottomHalf}
|
||||
bind left:${extramovetrigger} ${leftOneThird}
|
||||
bind right:${extramovetrigger} ${rightOneThird}
|
||||
bind m:${extramovetrigger} ${centerOneThird}
|
||||
bind up:${extramovetrigger} ${leftTwoThirds}
|
||||
bind down:${extramovetrigger} ${rightTwoThirds}
|
||||
|
||||
|
|
Loading…
Reference in a new issue