summary refs log tree commit diff
path: root/zshrc
diff options
context:
space:
mode:
Diffstat (limited to '')
-rw-r--r--zshrc24
1 files changed, 5 insertions, 19 deletions
diff --git a/zshrc b/zshrc
index 9786623..3f1f8a9 100644
--- a/zshrc
+++ b/zshrc
@@ -2,18 +2,10 @@ autoload -U compinit
 compinit -C
 
 HISTFILE=~/.zhistory
-
-# Add commands to history as they are entered, don't wait for shell to exit
-setopt INC_APPEND_HISTORY
-
-# Also remember command start time and duration
-setopt EXTENDED_HISTORY
-
-# Do not keep duplicate commands in history
-setopt HIST_IGNORE_ALL_DUPS
-
-# Do not remember commands that start with a whitespace
-setopt HIST_IGNORE_SPACE
+SAVEHIST=1000
+setopt append_history
+setopt hist_ignore_space
+setopt share_history
 
 zstyle ':completion:*' matcher-list 'm:{a-zA-Z}={A-Za-z}' 'r:|[._-]=* r:|=*' 'l:|=* r:|=*'
 
@@ -28,10 +20,4 @@ REPORTTIME=5
 # based on EDITOR/VISUAL).
 bindkey -e
 
-setopt PROMPT_PERCENT
-setopt PROMPT_SUBST
-
-PROMPT='[%F%25<..<%~%f%<<]$ '
-
-autoload -U select-word-style
-select-word-style bash
+PROMPT='; '