aboutsummaryrefslogtreecommitdiff
path: root/bash/bash_profile
diff options
context:
space:
mode:
Diffstat (limited to 'bash/bash_profile')
-rw-r--r--bash/bash_profile11
1 files changed, 8 insertions, 3 deletions
diff --git a/bash/bash_profile b/bash/bash_profile
index 99aad4ff..46564da0 100644
--- a/bash/bash_profile
+++ b/bash/bash_profile
@@ -2,9 +2,14 @@
[[ -e "$HOME/.bashrc" ]] && source "$HOME/.bashrc"
# Add various paths if they exit.
-[[ -d "${HOME}/bin" ]] && PATH="${HOME}/bin:${PATH}"
-[[ -d "/usr/local/mysql/bin" ]] && PATH="/usr/local/mysql/bin:${PATH}"
-[[ -d "/usr/local/pgsql/bin" ]] && PATH="/usr/local/pgsql/bin:${PATH}"
+DIRS="${HOME}/bin
+ /usr/local/apache/bin
+ /usr/local/mysql/bin
+ /usr/local/nagios/bin
+ /usr/local/pgsql/bin"
+for DIR in $DIRS; do
+ [[ -d "$DIR" ]] && PATH="${DIR}:${PATH}"
+done
# None of this UTF8 drawing characters nonsense.
export NCURSES_NO_UTF8_ACS=1