env: fix cargo bin folder

This commit is contained in:
PowerUser64 2022-12-16 22:21:39 -08:00
parent 780265daa5
commit e8fdc9fecd

View file

@ -51,7 +51,7 @@ export ZLE_RPROMPT_INDENT=0
export ZINIT_HOME_DIR="${XDG_DATA_HOME:-$HOME/.local/share}/zinit"
# Add cargo to PATH if it exists
[ -f "$HOME/.cargo/bin" ] && export PATH="$HOME/.cargo/bin:$PATH"
[ -d "$HOME/.cargo/bin" ] && export PATH="$PATH:$HOME/.cargo/bin"
# Set documents directory (auto set to the repo the file ~/todo points to is in)
if [ -h ~/todo ] && command -v git > /dev/null; then