diff options
author | Ryan Kavanagh <rak@rak.ac> | 2023-12-20 10:51:29 -0500 |
---|---|---|
committer | Ryan Kavanagh <rak@rak.ac> | 2023-12-20 10:51:29 -0500 |
commit | 053ec2ca30fec50416f723e431d49c4fa6cb9719 (patch) | |
tree | 83d1943332fdba3f0ecdf8f606f7026e000b4f2a /dot_kshrc | |
parent | Backup ~/.klog (diff) |
Split out some common shell config options
Diffstat (limited to 'dot_kshrc')
-rw-r--r-- | dot_kshrc | 6 |
1 files changed, 4 insertions, 2 deletions
@@ -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" |