From df9a6ce138275cd8cd7ce9b09a0c6c6cecfad4af Mon Sep 17 00:00:00 2001 From: James Bunton Date: Mon, 19 Nov 2018 23:14:24 +1100 Subject: [PATCH] bash: support symlinks to dirs in ~/bin --- .bashrc | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/.bashrc b/.bashrc index 8f6421a..443153f 100644 --- a/.bashrc +++ b/.bashrc @@ -14,7 +14,7 @@ fi # Add ~/bin and subdirs to PATH if needed while read -r p; do echo "$PATH" | tr ':' '\n' | grep -qxF "$p" || PATH="${p}:$PATH" -done < <(find ~/bin -type d 2> /dev/null) +done < <(find -L ~/bin -maxdepth 1 -type d 2> /dev/null) # Set EMAIL from the freedesktop environment.d if [ -r ~/.config/environment.d/10-email.conf ]; then -- 2.39.2