From e8fdc9fecd59786738c6fdec0aca042775f9688b Mon Sep 17 00:00:00 2001 From: PowerUser64 Date: Fri, 16 Dec 2022 22:21:39 -0800 Subject: [PATCH] env: fix cargo bin folder --- .config/shell/env | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/.config/shell/env b/.config/shell/env index e4256ab..bfb21a2 100644 --- a/.config/shell/env +++ b/.config/shell/env @@ -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