aboutsummaryrefslogtreecommitdiff
path: root/bash/profile
blob: 6fc34a519e71b35b2dc8ec3275ed2713327d4996 (plain) (blame)
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
21
22
23
24
25
26
27
28
29
30
31
32
33
# Locale
export LANG='en_NZ.UTF-8'
export LANGUAGE='en_NZ:en'
unset LC_ALL

# Editor
export EDITOR='vi'
export VISUAL="$EDITOR"

# Pager
export PAGER='less'

# Mail
export MAIL="$HOME/Mail"

# Browser
if [ -n "$DISPLAY" ]; then
    export BROWSER='firefox'
else
    export BROWSER='lynx'
fi

# Path
for bindir in \
    "$HOME/.local/bin"      \
    '/usr/local/apache/bin' \
    '/usr/local/mysql/bin'  \
    '/usr/local/nagios/bin' \
    '/usr/local/pgsql/bin'
do
    [ -d "$bindir" ] && export PATH="$bindir:$PATH"
done