aboutsummaryrefslogtreecommitdiff
path: root/dot_kshrc
diff options
context:
space:
mode:
Diffstat (limited to 'dot_kshrc')
-rw-r--r--dot_kshrc6
1 files changed, 4 insertions, 2 deletions
diff --git a/dot_kshrc b/dot_kshrc
index 9a52a09..6a1ce8d 100644
--- a/dot_kshrc
+++ b/dot_kshrc
@@ -1,12 +1,14 @@
[ -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
-[ -f "${HOME}/.config/sh/xdg-base-dirs" ] && . "${HOME}/.config/sh/xdg-base-dirs"
+for common in ${HOME}/.config/sh/*; do
+ [ -f "${common}" ] && . "${common}"
+done
export VISUAL="vim"
export EDITOR="$VISUAL"