aboutsummaryrefslogtreecommitdiffstats
path: root/_zsh
diff options
context:
space:
mode:
authorAaron LI <aaronly.me@gmail.com>2016-01-31 14:07:34 +0800
committerAaron LI <aaronly.me@gmail.com>2016-01-31 14:07:34 +0800
commitb8100b88c4fa4edacd6bf3e34074ab8678a44f1c (patch)
tree0840d3e27a3f26c3ab51e3e1cc7c953865e418e8 /_zsh
parent9b472f58253cf3ff9f4df8308d3aa552aaa51227 (diff)
downloaddotfiles-b8100b88c4fa4edacd6bf3e34074ab8678a44f1c.tar.bz2
Tune zsh configs; Auto startx if login on tty6 (.zlogin)
Diffstat (limited to '_zsh')
-rw-r--r--_zsh/history.zsh8
-rw-r--r--_zsh/setopt.zsh2
2 files changed, 6 insertions, 4 deletions
diff --git a/_zsh/history.zsh b/_zsh/history.zsh
index b668ed4..bfa6317 100644
--- a/_zsh/history.zsh
+++ b/_zsh/history.zsh
@@ -2,9 +2,11 @@
# zsh/history.zsh
#
-# history settings
-HISTSIZE=1000
-SAVEHIST=800
HISTFILE=~/.zsh_history
+HISTSIZE=2000
+SAVEHIST=1800
+# ignore these commands without arguments
+HISTIGNORE="cd:ls:ll"
+
# vim: set ts=8 sw=4 tw=0 fenc=utf-8 ft=zsh: #
diff --git a/_zsh/setopt.zsh b/_zsh/setopt.zsh
index f80fda6..79a1832 100644
--- a/_zsh/setopt.zsh
+++ b/_zsh/setopt.zsh
@@ -44,7 +44,7 @@ unsetopt MENU_COMPLETE
# spelling correction for commands
setopt CORRECT
# spelling correction for arguments
-setopt CORRECTALL
+#setopt CORRECTALL
## Prompt
# enable parameter expansion, command substitution, and arithmetic expansion