X-Git-Url: https://git.distorted.org.uk/~mdw/profile/blobdiff_plain/eda14eb9b457970df34c2a1e0425cdb8d8a97422..b97b3f8ee4cbe734744e9549d93c5a7bf108c64e:/dot/zshrc diff --git a/dot/zshrc b/dot/zshrc index e8657cb..7993025 100644 --- a/dot/zshrc +++ b/dot/zshrc @@ -67,6 +67,9 @@ bindkey "\e^c" capitalize-word-shell bindkey "\ep" history-beginning-search-backward bindkey "\en" history-beginning-search-forward +setopt interactive_comments +bindkey "\e#" pound-insert + __mdw_delete_horizontal_space () { LBUFFER=${LBUFFER%%[[:space:]]##} RBUFFER=${RBUFFER##[[:space:]]##} @@ -111,18 +114,19 @@ HISTFILE=~/.zsh-history HISTSIZE=1000 SAVEHIST=1000 -setopt appendhistory unsetopt auto_cd unsetopt auto_menu unsetopt bash_auto_list unsetopt beep setopt extendedglob +setopt hist_ignore_all_dups setopt ksh_glob setopt list_ambiguous setopt list_packed unsetopt nomatch unsetopt menu_complete setopt notify +setopt share_history zshaddhistory () { case "$1" in