aboutsummaryrefslogtreecommitdiffstats
path: root/_zsh/40-history.zsh
diff options
context:
space:
mode:
authorAaron LI <aaronly.me@gmail.com>2016-04-30 15:13:55 +0800
committerAaron LI <aaronly.me@gmail.com>2016-04-30 15:13:55 +0800
commitc381c0c531a78ff4b1a1907c10da4ff54a112f0a (patch)
treeb194beb791c36b31fd1f3333d2f20f07462fe516 /_zsh/40-history.zsh
parent3d6f015f851398d0ce1e509cd6fd88e74c7626f6 (diff)
downloaddotfiles-c381c0c531a78ff4b1a1907c10da4ff54a112f0a.tar.bz2
_zsh: simplify initialization; order by perfix
Diffstat (limited to '_zsh/40-history.zsh')
-rw-r--r--_zsh/40-history.zsh12
1 files changed, 12 insertions, 0 deletions
diff --git a/_zsh/40-history.zsh b/_zsh/40-history.zsh
new file mode 100644
index 0000000..e1275a6
--- /dev/null
+++ b/_zsh/40-history.zsh
@@ -0,0 +1,12 @@
+#
+# zsh/history.zsh
+#
+
+HISTFILE=~/.zsh_history
+
+HISTSIZE=10000
+SAVEHIST=9000
+# ignore these commands without arguments
+HISTIGNORE="cd:ls:ll"
+
+# vim: set ts=8 sw=4 tw=0 fenc=utf-8 ft=zsh: #