aboutsummaryrefslogtreecommitdiff
path: root/bash/bash_profile
blob: 6c0b3cb0c5eb11fcc07565b6502c970e14678d79 (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 exist.
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