commit 3c73894ecc347943f4bf5b2e27e3c2e81da25449 parent 4d108d46b1fece2d8e009b97726acb49276c4698 Author: Jacob R. Edwards <jacobouno@protonmail.com> Date: Sat, 18 Jul 2020 01:12:28 -0700 Clean up and set all prompt variables remove export before HISTFILE and HISTSIZE simplify PS1 set PS2-4 to "{2-4}> " respectivly Diffstat:
| M | ksh/.kshrc | | | 19 | +++++++++---------- |
1 file changed, 9 insertions(+), 10 deletions(-)
diff --git a/ksh/.kshrc b/ksh/.kshrc @@ -1,15 +1,14 @@ # kshrc, Jacob Edwards -# created: Mar 27, 2020, updated: Apr 26, 2020 +# created: 2020.03.27 + +set -o vi -# source files . ~/.profile . ~/.aliases -export HISTFILE="$HISTBASE/ksh/history" -export HISTSIZE="820000" -set -o vi - -# PS1 ~ -#PS1='$(if [[ "${PWD#$HOME}" != "$PWD" ]] then; print -n "~${PWD#$HOME}"; else; print -n "$PWD";fi) ' -PS1="\e[0;34m(\e[0m\w\e[0;34m)\e[0m " -PS2='! ' +HISTFILE="$HISTBASE/ksh/history" +HISTSIZE="820000" +PS1="\w " +PS2="2> " +PS3="3> " +PS4="4> "