ref: a3188c16c2d36b1e3262955452bff6c36edc3f48 dotfiles/overlay/.kshrc -rw-r--r-- 321 bytes View raw
                                                                                
1
2
3
4
5
6
7
8
9
10
11
12
. ~/.profile

if [ "$(uname)" = "OpenBSD" ] ; then
        export PS1='\e[1m\e[31m$(whoami)@$(hostname | cut -d. -f1):$(fastabr) > \e[0m'
else
        export PS1='$(printf "\e[1m\e[31m$(whoami)@$(hostname | cut -d. -f1):$(fastabr) > \e[0m")'
fi
set -o vi

# shell history file
HISTFILE="$HOME/.ksh_history"
HISTSIZE=5000