Follow symlnks when adding ~/.local/bin dirs to PATH

This commit is contained in:
ItsDrike 2023-08-02 11:02:18 +02:00
parent 2da877dfba
commit 62912b75ba
Signed by: ItsDrike
GPG key ID: FA2745890B7048C0

View file

@ -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"