-
Notifications
You must be signed in to change notification settings - Fork 0
/
kshrc
30 lines (23 loc) · 820 Bytes
/
kshrc
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
HISTCONTROL=ignoredups:ignorespace
HISTFILE=~/.sh_history
HISTSIZE=100000
[ -r $HOME/configs/shell/env_openbsd ] \
&& . $HOME/configs/shell/env_openbsd
[ -r $HOME/configs/shell/aliases_openbsd ] \
&& . $HOME/configs/shell/aliases_openbsd
[ -r $HOME/configs/shell/functions_openbsd ] \
&& . $HOME/configs/shell/functions_openbsd
[ -r $HOME/.ksh_autocomplete ] \
&& . $HOME/.ksh_autocomplete
# Stylize PS1
if [ -r $HOME/configs/machine_specific/ps1 ]; then
. $HOME/configs/machine_specific/ps1
else
[ -r $HOME/configs/shell/ps1 ] \
&& . $HOME/configs/shell/ps1
fi
export PS1
# "Show status" binding
stty status ^T
set +o markdirs # Add / to all directory names generated from wildcard
# expansion. From zmyrgel's dotfile.