cleanup zsh configs
This commit is contained in:
parent
f230d02b26
commit
19575eb671
3 changed files with 6 additions and 1 deletions
|
@ -39,3 +39,5 @@ vacuum-repo() {
|
||||||
vacuum-repo-hard() {
|
vacuum-repo-hard() {
|
||||||
git branch -vv | grep ': gone]' | awk '{print $1}' | xargs git branch -D
|
git branch -vv | grep ': gone]' | awk '{print $1}' | xargs git branch -D
|
||||||
}
|
}
|
||||||
|
|
||||||
|
export PATH="$HOME/.cargo/bin:$PATH"
|
||||||
|
|
3
.zshrc
3
.zshrc
|
@ -38,3 +38,6 @@ fi
|
||||||
[ -f ~/.fzf.zsh ] && source ~/.fzf.zsh
|
[ -f ~/.fzf.zsh ] && source ~/.fzf.zsh
|
||||||
[ -f /home/cyryl/.travis/travis.sh ] && source /home/cyryl/.travis/travis.sh
|
[ -f /home/cyryl/.travis/travis.sh ] && source /home/cyryl/.travis/travis.sh
|
||||||
[ -s "$NVM_DIR/nvm.sh" ] && \. "$NVM_DIR/nvm.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"
|
||||||
|
|
|
@ -118,8 +118,8 @@ if [[ -z $NORUST ]]; then
|
||||||
|
|
||||||
export LD_LIBRARY_PATH=$LD_LIBRARY_PATH:/usr/local/lib
|
export LD_LIBRARY_PATH=$LD_LIBRARY_PATH:/usr/local/lib
|
||||||
|
|
||||||
|
cargo install cargo-update rustsym ripgrep fd-find genpass
|
||||||
set +e
|
set +e
|
||||||
cargo install cargo-update racer rustsym ripgrep fd-find genpass
|
|
||||||
cargo install-update -a
|
cargo install-update -a
|
||||||
set -e
|
set -e
|
||||||
rustup run nightly cargo install-update -a
|
rustup run nightly cargo install-update -a
|
||||||
|
|
Loading…
Reference in a new issue