From 62912b75bab14a96784b78540ce717bfbae41e51 Mon Sep 17 00:00:00 2001 From: ItsDrike Date: Wed, 2 Aug 2023 11:02:18 +0200 Subject: [PATCH] Follow symlnks when adding ~/.local/bin dirs to PATH --- home/.config/shell/profile | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/home/.config/shell/profile b/home/.config/shell/profile index b6e47a9..e9e6d8a 100755 --- a/home/.config/shell/profile +++ b/home/.config/shell/profile @@ -8,7 +8,7 @@ # Add all folders in ~/.local/bin into PATH # Some window managers require this line to be in profile # not in .zshenv -PATH+=":${$(find ~/.local/bin -type d | tr '\n' ':')%%:}" +PATH+=":${$(find -L ~/.local/bin -type d | tr '\n' ':')%%:}" if [ -d "$HOME/.local/share/pyenv/shims" ]; then PATH+=":$HOME/.local/share/pyenv/shims"