commit 4a0e7f48a0a5dcbcb4478d2443b25553718a78a0
parent 6d9f9f55d4b638d552efeebf37f8e4fa98451a64
Author: jacob@thinkpad <jacobouno@protonmail.com>
Date: Sun, 26 Apr 2020 17:36:35 -0700
source portabily, PS1 now made for public domain korn shell (v 5.2.14 or so)
Diffstat:
1 file changed, 8 insertions(+), 9 deletions(-)
diff --git a/ksh/.kshrc b/ksh/.kshrc
@@ -1,15 +1,14 @@
-# kshrc, Jacob Edwards, Mar 27, 2020
+# kshrc, Jacob Edwards
+# created: Mar 27, 2020, updated: Apr 26, 2020
-# sourcing
-source ~/.profile
-source ~/.aliases
+# source files
+. ~/.profile
+. ~/.aliases
-# history
-export HISTSIZE='820000'
-
-# options
+export HISTSIZE="820000"
set -o vi
# PS1 ~
-PS1='$(if [[ "${PWD#$HOME}" != "$PWD" ]] then; print -n "~${PWD#$HOME}"; else; print -n "$PWD";fi) '
+#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='! '