mirror of
https://github.com/ItsDrike/dotfiles.git
synced 2024-11-10 02:39:40 +00:00
Follow symlnks when adding ~/.local/bin dirs to PATH
This commit is contained in:
parent
2da877dfba
commit
62912b75ba
|
@ -8,7 +8,7 @@
|
||||||
# Add all folders in ~/.local/bin into PATH
|
# Add all folders in ~/.local/bin into PATH
|
||||||
# Some window managers require this line to be in profile
|
# Some window managers require this line to be in profile
|
||||||
# not in .zshenv
|
# 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
|
if [ -d "$HOME/.local/share/pyenv/shims" ]; then
|
||||||
PATH+=":$HOME/.local/share/pyenv/shims"
|
PATH+=":$HOME/.local/share/pyenv/shims"
|
||||||
|
|
Loading…
Reference in a new issue