dotfiles

[void/arch] linux dotfiles
git clone git://git.mdnr.space/dotfiles
Log | Files | Refs

commit c39e5018648558a28f8aefe0b2e9063a45d2bc1a
parent 3b74a219d32d5885bc56063f39e1e0e2497671f3
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:
Mshell/.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