aboutsummaryrefslogtreecommitdiff
path: root/sh/profile
blob: 0a1e12a31d2f5388f01d40e3f83d5fe3385a2c95 (plain) (blame)
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
# Set editor
export EDITOR='vi'
export VISUAL="$EDITOR"

# Set pager
export PAGER='less'

# Add ~/.local/bin to PATH
if [ -d "$HOME/.local/bin" ]; then
    PATH="$HOME/.local/bin:$PATH"
fi
export PATH

# Load any supplementary scripts
if [ -d "$HOME/.profile.d" ]; then
    for file in $HOME/.profile.d/*; do
        . $file
    done
fi