commit b674e2a391c6c657503f5f07f3607cafc9764ef1 parent 2e674ce074c99c3cd7327b44069d96d88d6f0fad Author: mehdi-norouzi <mehdeenoroozi@gmail.com> Date: Sun, 6 Aug 2023 13:34:10 +0330 shell: edit PATH; remove .scr and add ~/xd-tools/*/bin Diffstat:
| M | shell/.config/shell/profile | | | 4 | +++- |
1 file changed, 3 insertions(+), 1 deletion(-)
diff --git a/shell/.config/shell/profile b/shell/.config/shell/profile @@ -6,7 +6,9 @@ # to clean up. # Adds `~/.local/bin` to $PATH -export PATH="$PATH:${$(find ~/.local/bin -type d -printf %p:)%%:}" +export PATH="$PATH:${$(find ~/.local/bin -type d ! -path '*.scr/*' ! -name '.scr' -printf %p:)%%:}" +# Adds `~/x-tools/*/bin` to $PATH +export PATH="$PATH:${$(find ~/x-tools -maxdepth 2 -type d -name 'bin' -printf %p:)%%:}" unsetopt PROMPT_SP