add cargo bin to path

This commit is contained in:
Adam 2024-01-06 03:03:34 -05:00
parent 7c52b2d498
commit 96f7482152

View file

@ -4,13 +4,16 @@
[ -x "$(command -v g610-led)" ] && g610-led -a ff [ -x "$(command -v g610-led)" ] && g610-led -a ff
export PATH="$PATH:$(du "$HOME/.local/bin" | cut -f2 | paste -sd ':' -)" export PATH="$PATH:$(du "$HOME/.local/bin" | cut -f2 | paste -sd ':' -)"
if test -d $HOME/.local/share/cargo/bin; then
export PATH=$PATH:$HOME/.local/share/cargo/bin
fi
unsetopt PROMPT_SP unsetopt PROMPT_SP
# Default programs: # Default programs:
export BROWSER="firefox-developer-edition" export BROWSER="firefox-developer-edition"
export EDITOR="nvim" export EDITOR="nvim"
export TERMINAL="kitty" export TERMINAL="alacritty"
# Move config files out of home and into .config/ # Move config files out of home and into .config/
export ANDROID_SDK_HOME="${XDG_CONFIG_HOME:-$HOME/.config}/android" export ANDROID_SDK_HOME="${XDG_CONFIG_HOME:-$HOME/.config}/android"