cleanup zsh configs

This commit is contained in:
Cyryl Płotnicki 2019-01-20 13:39:04 +00:00
parent f230d02b26
commit 19575eb671
3 changed files with 6 additions and 1 deletions

View file

@ -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"

3
.zshrc
View file

@ -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"

View file

@ -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