summaryrefslogtreecommitdiff
path: root/examples/source
diff options
context:
space:
mode:
Diffstat (limited to 'examples/source')
-rw-r--r--examples/source/enable-shared-history.zsh5
1 files changed, 5 insertions, 0 deletions
diff --git a/examples/source/enable-shared-history.zsh b/examples/source/enable-shared-history.zsh
new file mode 100644
index 0000000..9b29c96
--- /dev/null
+++ b/examples/source/enable-shared-history.zsh
@@ -0,0 +1,5 @@
+setopt sharehistory
+
+HISTSIZE=1000
+SAVEHIST=1000
+HISTFILE="$zd/history"