diff options
| author | Franck Cuny <franck@fcuny.net> | 2020-12-27 10:54:06 -0800 |
|---|---|---|
| committer | Franck Cuny <franck@fcuny.net> | 2020-12-27 10:54:06 -0800 |
| commit | ac47150fbd52bbdb69fbda8d96bf0ba4787510ca (patch) | |
| tree | 7cf9bb6de40ecbb30e42d14b90ac7c9e6e8967f3 | |
| parent | mpd: music is on the laptop, not from a smb share (diff) | |
| download | emacs.d-ac47150fbd52bbdb69fbda8d96bf0ba4787510ca.tar.gz | |
zsh: some cleanup
Diffstat (limited to '')
| -rw-r--r-- | zshenv | 1 | ||||
| -rw-r--r-- | zshrc | 24 |
2 files changed, 6 insertions, 19 deletions
@@ -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" @@ -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='; ' |
