bash/zsh: add ~/.cargo/bin to PATH if present
This commit is contained in:
3
zshrc.d/cargo.zsh
Normal file
3
zshrc.d/cargo.zsh
Normal file
@@ -0,0 +1,3 @@
|
||||
[ -f ~/.config/tabtab/__tabtab.zsh ] && . ~/.config/tabtab/__tabtab.zsh || true
|
||||
[ -f "$HOME/.cargo/env" ] && source "$HOME/.cargo/env" || true
|
||||
[ -d "$HOME/.cargo/bin" ] && addpath "$HOME/.cargo/bin" || true
|
||||
Reference in New Issue
Block a user