aboutsummaryrefslogtreecommitdiff
path: root/ksh/kshrc
blob: 2f0d31a69582e8d8b57dc0cd8749d75d2c74e639 (plain)
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
# Emacs-style key bindings
set -o braceexpand
set -o emacs

# Save history
HISTFILE=$HOME/.ksh_history
HISTSIZE=$((1 << 10))

# If HOSTNAME isn't set by this version of ksh, set it
HOSTNAME=$(uname -n)

# Load any supplementary scripts
for kshrc in "$HOME"/.kshrc.d/*.ksh ; do
    [[ -e $kshrc ]] && . "$kshrc"
done
unset -v kshrc