bash/zsh: add ~/.cargo/bin to PATH if present

This commit is contained in:
2024-10-14 22:16:44 +01:00
parent 6dcd55ad4c
commit 99c827b2bf
3 changed files with 4 additions and 3 deletions

View File

@@ -2,3 +2,4 @@
# uninstall by removing these lines
[ -f ~/.config/tabtab/__tabtab.bash ] && . ~/.config/tabtab/__tabtab.bash || true
[ -f "$HOME/.cargo/env" ] && source "$HOME/.cargo/env" || true
[ -d "$HOME/.cargo/bin" ] && addpath "$HOME/.cargo/bin" || true