From 053ec2ca30fec50416f723e431d49c4fa6cb9719 Mon Sep 17 00:00:00 2001 From: Ryan Kavanagh Date: Wed, 20 Dec 2023 10:51:29 -0500 Subject: Split out some common shell config options --- dot_kshrc | 6 ++++-- 1 file changed, 4 insertions(+), 2 deletions(-) (limited to 'dot_kshrc') 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" -- cgit v1.2.3