aboutsummaryrefslogtreecommitdiff
path: root/dot_kshrc
diff options
context:
space:
mode:
authorRyan Kavanagh <rak@rak.ac>2023-12-20 11:03:47 -0500
committerRyan Kavanagh <rak@rak.ac>2023-12-20 11:03:47 -0500
commitf5b3c563bdbe24796c645ed2845c857b7e9f77ac (patch)
tree0b1a516e0ee93e0339cd0034eb6374b64b5b1320 /dot_kshrc
parentOnly install ~/afs on Linux (diff)
parentSplit out some common shell config options (diff)
Merge remote-tracking branch 'rak-https/master'
Diffstat (limited to 'dot_kshrc')
-rw-r--r--dot_kshrc6
1 files changed, 5 insertions, 1 deletions
diff --git a/dot_kshrc b/dot_kshrc
index 3acab9c..6a1ce8d 100644
--- a/dot_kshrc
+++ b/dot_kshrc
@@ -1,11 +1,15 @@
[ -f /etc/ksh.kshrc ] && . /etc/ksh.kshrc || true
-export PPROMPT='<$USER@$HOST:$PWD:!>'"$PS1S"
+export PPROMPT='<$USER@$HOST:$PWD:!> '"$PS1S"
export PS1=$PPROMPT
export HISTFILE="$HOME/.ksh_history"
export HISTSIZE=5000
+for common in ${HOME}/.config/sh/*; do
+ [ -f "${common}" ] && . "${common}"
+done
+
export VISUAL="vim"
export EDITOR="$VISUAL"
set -o emacs