aboutsummaryrefslogtreecommitdiff
path: root/pdksh
diff options
context:
space:
mode:
authorTom Ryder <tom@sanctum.geek.nz>2016-08-10 11:17:37 +1200
committerTom Ryder <tom@sanctum.geek.nz>2016-08-10 11:17:37 +1200
commitfc7ccd48bec1bd6ea8201533977e154ae4d94aaa (patch)
tree9335a2d5f5832741f5a97e491620e199e7569144 /pdksh
parentLimit prompt setup to OpenBSD pdksh (diff)
downloaddotfiles-fc7ccd48bec1bd6ea8201533977e154ae4d94aaa.tar.gz
dotfiles-fc7ccd48bec1bd6ea8201533977e154ae4d94aaa.zip
Name/point pdksh files specifically
This frees up space to implement actual ksh88/ksh93 files specifically in future, as pdksh's feature set differs considerably
Diffstat (limited to 'pdksh')
-rw-r--r--pdksh/kshrc14
-rw-r--r--pdksh/pdkshrc14
-rw-r--r--pdksh/pdkshrc.d/prompt.pdksh (renamed from pdksh/kshrc.d/prompt.ksh)0
3 files changed, 14 insertions, 14 deletions
diff --git a/pdksh/kshrc b/pdksh/kshrc
deleted file mode 100644
index c0697774..00000000
--- a/pdksh/kshrc
+++ /dev/null
@@ -1,14 +0,0 @@
-# Emacs-style key bindings
-set -o braceexpand
-set -o emacs
-
-# Save history
-HISTFILE=$HOME/.sh_history
-HISTSIZE=$((1 << 12))
-
-# Load any supplementary scripts
-for kshrc in "$HOME"/.kshrc.d/*.ksh ; do
- [[ -e $kshrc ]] || continue
- . "$kshrc"
-done
-unset -v kshrc
diff --git a/pdksh/pdkshrc b/pdksh/pdkshrc
new file mode 100644
index 00000000..46dbba2c
--- /dev/null
+++ b/pdksh/pdkshrc
@@ -0,0 +1,14 @@
+# Emacs-style key bindings
+set -o braceexpand
+set -o emacs
+
+# Save history
+HISTFILE=$HOME/.pdksh_history
+HISTSIZE=$((1 << 12))
+
+# Load any supplementary scripts
+for pdkshrc in "$HOME"/.pdkshrc.d/*.pdksh ; do
+ [[ -e $pdkshrc ]] || continue
+ . "$pdkshrc"
+done
+unset -v pdkshrc
diff --git a/pdksh/kshrc.d/prompt.ksh b/pdksh/pdkshrc.d/prompt.pdksh
index d261b90d..d261b90d 100644
--- a/pdksh/kshrc.d/prompt.ksh
+++ b/pdksh/pdkshrc.d/prompt.pdksh