diff options
-rw-r--r-- | zshenv | 1 | ||||
-rw-r--r-- | zshrc | 24 |
2 files changed, 6 insertions, 19 deletions
diff --git a/zshenv b/zshenv index 37ab040..5a3cacb 100644 --- a/zshenv +++ b/zshenv @@ -1,5 +1,6 @@ export EDITOR="mg" export PATH=~/workspace/go/bin:$PATH export GOPATH=~/workspace/go +export PAGER='less -R' alias add="arc diff --draft" 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='; ' |