aboutsummaryrefslogtreecommitdiff
path: root/pdksh/kshrc
diff options
context:
space:
mode:
Diffstat (limited to 'pdksh/kshrc')
-rw-r--r--pdksh/kshrc7
1 files changed, 7 insertions, 0 deletions
diff --git a/pdksh/kshrc b/pdksh/kshrc
new file mode 100644
index 00000000..3076dfe8
--- /dev/null
+++ b/pdksh/kshrc
@@ -0,0 +1,7 @@
+# Emacs-style key bindings
+set -o braceexpand
+set -o emacs
+
+# Save history
+HISTFILE=$HOME/.sh_history
+HISTSIZE=$((1 << 12))