From 3e77b296d59ff243cafe5a5b61b74ed8d6576d4c Mon Sep 17 00:00:00 2001 From: Tom van der Lee Date: Wed, 19 Sep 2018 15:07:53 +0200 Subject: Added pyenv --- bash/.bashrc | 11 ++++------- vim/.vim/vimrc | 2 +- 2 files changed, 5 insertions(+), 8 deletions(-) diff --git a/bash/.bashrc b/bash/.bashrc index 4be0f7f..0ff8f28 100755 --- a/bash/.bashrc +++ b/bash/.bashrc @@ -199,11 +199,8 @@ if exists heroku; then && source $HEROKU_AC_BASH_SETUP_PATH fi -# vim: set ts=4 sw=4 tw=0 et : +if exists pyenv; then + export PATH="$PATH:$(pyenv root)/shims" +fi -# tabtab source for serverless package -# uninstall by removing these lines or running `tabtab uninstall serverless` -[ -f /usr/local/lib/node_modules/serverless/node_modules/tabtab/.completions/serverless.bash ] && . /usr/local/lib/node_modules/serverless/node_modules/tabtab/.completions/serverless.bash -# tabtab source for sls package -# uninstall by removing these lines or running `tabtab uninstall sls` -[ -f /usr/local/lib/node_modules/serverless/node_modules/tabtab/.completions/sls.bash ] && . /usr/local/lib/node_modules/serverless/node_modules/tabtab/.completions/sls.bash +# vim: set ts=4 sw=4 tw=0 et : diff --git a/vim/.vim/vimrc b/vim/.vim/vimrc index a93e9ad..9320e3f 100755 --- a/vim/.vim/vimrc +++ b/vim/.vim/vimrc @@ -77,7 +77,7 @@ set ignorecase set smartcase " capital letters = case sensitive " Disable ex mode -nnoremap Q +" nnoremap Q " Save as sudo cnoremap w!! w !sudo tee > /dev/null % -- cgit v1.2.3