aboutsummaryrefslogtreecommitdiff
path: root/sh/profile
blob: 0926a25066dd9971d21491877d4c1f6cb682f9f4 (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
# Use lynx as our terminal browser
export BROWSER=lynx

# Use ed as our line editor and vi as our visual editor
export EDITOR=ed
export VISUAL=vi

# Set the POSIX interactive startup file to ~/.shinit
export ENV=$HOME/.shinit

# Always use bytewise sorting
export LC_COLLATE=C

# Use less as my pager
export PAGER=less

# Assume I'm at home unless something overrides it
export TZ=Pacific/Auckland

# Source all scripts in ~/.profile.d; many of them will be modifying $PATH, so
# we'll get that sorted out first
for sh in "$HOME"/.profile.d/*.sh ; do
    [ -e "$sh" ] || continue
    . "$sh"
done
unset -v sh

# Add ~/.local/bin and ~/.local/games to the very front of PATH, so that it
# overrides everything else
PATH=$HOME/.local/bin:$HOME/.local/games:$PATH