From 6aaf77922754e86823d9c62dbdbcc6a3308aaa65 Mon Sep 17 00:00:00 2001 From: Jonathan Hodgson Date: Tue, 14 May 2019 21:11:34 +0100 Subject: [PATCH] Adds sub folders of .bin to my path --- shells/profile | 5 +++++ 1 file changed, 5 insertions(+) diff --git a/shells/profile b/shells/profile index 8742342d..1ebfa1e7 100644 --- a/shells/profile +++ b/shells/profile @@ -12,4 +12,9 @@ GEM_PATH=$GEM_HOME export PATH=$PATH:$GEM_HOME/bin export GEM_HOME=$(ruby -e 'print Gem.user_dir') +# Adds sub folders in by .bin directory to the PATH +for d in ~/.bin/*/; do + PATH+=":$d" +done + #echo -e "Please don't sabotage my computer while I'm away \n\nTo turn on the print server, run the command 'cups'" | /usr/bin/cowsay -f tux -W 80