Add some tests to zshrc

This commit is contained in:
Michael Campagnaro 2017-05-01 04:57:19 -04:00
parent 8e8c088a1b
commit 427a2a50a5

9
zshenv
View File

@ -39,12 +39,15 @@ fi
path=($HOME/bin $HOME/.dotfiles/bin ${ANSIBLE_DIR}/bin ${RBENV_PATH}/bin $HOME/.vim/scripts $path) path=($HOME/bin $HOME/.dotfiles/bin ${ANSIBLE_DIR}/bin ${RBENV_PATH}/bin $HOME/.vim/scripts $path)
if [[ $platform == 'Darwin' ]]; then if [[ $platform == 'Darwin' ]]; then
source $HOME/.cargo/env test -f $HOME/.cargo && source $HOME/.cargo/env
# TODO: test for qt
path=($HOME/Qt/5.8/clang_64/bin $path) path=($HOME/Qt/5.8/clang_64/bin $path)
fi fi
# Start rbenv if [ -d "$HOME/.rbenv" ]; then
eval "$(rbenv init -)" # Start rbenv
eval "$(rbenv init -)"
fi
# Start the SSH agent # Start the SSH agent
eval "$(ssh-agent -s)" > /dev/null eval "$(ssh-agent -s)" > /dev/null