From a5498aa320124153be5caa59d61c13e4e6357595 Mon Sep 17 00:00:00 2001 From: memdmp Date: Fri, 3 Jan 2025 03:32:34 +0100 Subject: fix: make PATH include $HOME/.local/bin --- zuwu.zsh | 9 +++++++++ 1 file changed, 9 insertions(+) (limited to 'zuwu.zsh') diff --git a/zuwu.zsh b/zuwu.zsh index e83df20..6839ba6 100755 --- a/zuwu.zsh +++ b/zuwu.zsh @@ -32,6 +32,15 @@ fi noop() {} +# Fix PATH +if ! grep "$HOME/.local/bin" <<< "$PATH"; then + echo -n 'if ! grep "$HOME/.local/bin" <<< "$PATH"; then + export PATH="$PATH:$HOME/.local/bin" +fi +' >> "$HOME/.zshenv" + export PATH="$PATH:$HOME/.local/bin" +fi + autoload -U up-line-or-beginning-search autoload -U down-line-or-beginning-search -- cgit v1.2.3