aboutsummaryrefslogtreecommitdiff
path: root/zshrc.d/common
diff options
context:
space:
mode:
Diffstat (limited to 'zshrc.d/common')
-rw-r--r--zshrc.d/common23
1 files changed, 23 insertions, 0 deletions
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