aboutsummaryrefslogtreecommitdiff
path: root/bash/bash_profile
blob: 85ef5e21571d07b947180a050e2547c10bc03e8b (plain) (blame)
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
21
22
# Source .bashrc if it exists.
[[ -e "$HOME/.bashrc" ]] && source "$HOME/.bashrc"

# Add various paths if they exit.
DIRS="${HOME}/bin
      /usr/local/apache/bin
      /usr/local/mysql/bin
      /usr/local/nagios/bin
      /usr/local/pgsql/bin"
for DIR in $DIRS; do
    if [[ -d "$DIR" ]] && [[ ":${PATH}:" != *":${DIR}:"* ]]; then
        if [[ -n "$PATH" ]]; then
            PATH="${DIR}:${PATH}"
        else
            PATH=$DIR
        fi
    fi
done

# None of this UTF8 drawing characters nonsense.
export NCURSES_NO_UTF8_ACS=1