diff --git a/.zprofile b/.zprofile index 11155fe3..96c44265 100644 --- a/.zprofile +++ b/.zprofile @@ -39,3 +39,5 @@ vacuum-repo() { vacuum-repo-hard() { git branch -vv | grep ': gone]' | awk '{print $1}' | xargs git branch -D } + +export PATH="$HOME/.cargo/bin:$PATH" diff --git a/.zshrc b/.zshrc index c8231494..8ec4ff78 100644 --- a/.zshrc +++ b/.zshrc @@ -38,3 +38,6 @@ fi [ -f ~/.fzf.zsh ] && source ~/.fzf.zsh [ -f /home/cyryl/.travis/travis.sh ] && source /home/cyryl/.travis/travis.sh [ -s "$NVM_DIR/nvm.sh" ] && \. "$NVM_DIR/nvm.sh" + +# Add RVM to PATH for scripting. Make sure this is the last PATH variable change. +export PATH="$PATH:$HOME/.rvm/bin" diff --git a/common/configure_fresh_system.sh b/common/configure_fresh_system.sh index 03bbedd3..c549793e 100755 --- a/common/configure_fresh_system.sh +++ b/common/configure_fresh_system.sh @@ -118,8 +118,8 @@ if [[ -z $NORUST ]]; then export LD_LIBRARY_PATH=$LD_LIBRARY_PATH:/usr/local/lib + cargo install cargo-update rustsym ripgrep fd-find genpass set +e - cargo install cargo-update racer rustsym ripgrep fd-find genpass cargo install-update -a set -e rustup run nightly cargo install-update -a