diff --git a/bash.bashrc b/bash.bashrc index 177f66a..6e4388d 100644 --- a/bash.bashrc +++ b/bash.bashrc @@ -162,6 +162,8 @@ if [ -f ~/.bash_aliases ]; then fi # Add path to any tools folder in /opt/debian-* -for i in /opt/debian-*/tools; do - PATH=$PATH:$i +for i in {/opt,$HOME}/debian-*/tools; do + if [ -d "$i" ]; then + PATH=$PATH:$i + fi done