From 47d3b6fc1966df43b37751165d6fa4229904c0fa Mon Sep 17 00:00:00 2001 From: =?UTF-8?q?Karel=20Ko=C4=8D=C3=AD?= Date: Fri, 26 Jan 2018 15:02:07 +0100 Subject: Initial commit --- zshrc.d/common | 23 +++++++++++++++++++++++ 1 file changed, 23 insertions(+) create mode 100644 zshrc.d/common (limited to 'zshrc.d/common') diff --git a/zshrc.d/common b/zshrc.d/common new file mode 100644 index 0000000..9ba1466 --- /dev/null +++ b/zshrc.d/common @@ -0,0 +1,23 @@ +# vim: ft=zsh + +autoload -Uz colors && colors + +HISTFILE=~/.histfile +HISTSIZE=10000 +SAVEHIST=10000 +setopt appendhistory +setopt extendedglob +setopt hist_ignore_dups +setopt hist_expire_dups_first +setopt extended_history +setopt inc_append_history +setopt promptsubst +unsetopt nomatch +bindkey -e + +autoload -U select-word-style +select-word-style bash + +# Delete key workaround +bindkey "^[[3~" delete-char +bindkey "^[3;5~" delete-char -- cgit v1.2.3