Skip to content
Browse files

ZSH: Add cargo and racer special env vars.

Ingore some vim plug trash.
  • Loading branch information...
1 parent 8c9af1a commit 491a6c2ff448136bd4f08a402d870af5885e40ee @jhbabon committed Apr 25, 2016
Showing with 7 additions and 0 deletions.
  1. +1 −0 .gitignore
  2. +6 −0 zsh/.zshenv
View
1 .gitignore
@@ -15,3 +15,4 @@ vim/.vim/tmp/**/*
ssh/.ssh/id_rsa
ssh/.ssh/id_rsa.pub
vim/.vim/init.vim
+vim/.vim/autoload/plug.vim.old
View
6 zsh/.zshenv
@@ -55,6 +55,12 @@ export NVM_DIR="$HOME/.nvm"
# Use extra .gemrc configuration
[[ -f "$HOME/.gemrc_local" ]] && export GEMRC="$HOME/.gemrc_local"
+# cargo (rust)
+[[ -d "$HOME/.cargo/bin" ]] && export PATH="$HOME/.cargo/bin:$PATH"
+if [[ -d "$HOME/src/vendor/rustc/src" ]] ; then
+ export RUST_SRC_PATH="$HOME/src/vendor/rustc/src"
+fi
+
# load bin from safe dirs
export PATH=".safe/../bin:$HOME/.bin:$PATH"

0 comments on commit 491a6c2

Please sign in to comment.
Something went wrong with that request. Please try again.