aboutsummaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorxero <x@xero.nu>2014-05-28 17:37:03 -0400
committerxero <x@xero.nu>2014-05-28 17:37:03 -0400
commit1434c859bcf94a0bbee88e72c8a01849d0356293 (patch)
tree68e19b3ad50856d196451a4a6e84374399460c52
parent012101269069b6aa6cde5b04c16423b9914b3357 (diff)
downloaddotfiles_ascii-1434c859bcf94a0bbee88e72c8a01849d0356293.tar.xz
dotfiles_ascii-1434c859bcf94a0bbee88e72c8a01849d0356293.zip
add zsh shared history settings
-rw-r--r--.zshrc9
1 files changed, 9 insertions, 0 deletions
diff --git a/.zshrc b/.zshrc
index d261c44..14d832f 100644
--- a/.zshrc
+++ b/.zshrc
@@ -96,6 +96,15 @@ chpwd_functions+='chpwd_update_git_vars'
#█▓▒░ load configs
for config_file (~/.zsh/*.zsh) source $config_file
+#█▓▒░ history
+HISTFILE=~/.zhistory
+setopt APPEND_HISTORY
+HISTSIZE=1200
+SAVEHIST=1000
+setopt HIST_EXPIRE_DUPS_FIRST
+setopt EXTENDED_HISTORY
+setopt SHARE_HISTORY
+
#█▓▒░ custom prompts
#█▓▒░dual line