commit 3bb63d7074a8bf177ca8cfe0d75fa544c0696de3 parent fd9583c9768d4b082fe543a552ab208e00f6d092 Author: jacob@nzxt <jacobouno@protonmail.com> Date: Fri, 27 Mar 2020 14:01:35 -0700 init: KornShell (ksh), mostly copied from mkshrc Diffstat:
| A | ksh/.kshrc | | | 15 | +++++++++++++++ |
1 file changed, 15 insertions(+), 0 deletions(-)
diff --git a/ksh/.kshrc b/ksh/.kshrc @@ -0,0 +1,15 @@ +# kshrc, Jacob Edwards, Mar 27, 2020 + +# sourcing +source ~/.profile +source ~/.aliases + +# history +export HISTSIZE='820000' + +# options +set -o vi + +# PS1 ~ +PS1='$(if [[ "${PWD#$HOME}" != "$PWD" ]] then; print -n "~${PWD#$HOME}"; else; print -n "$PWD";fi) ' +PS2='! '