aboutsummaryrefslogtreecommitdiff
path: root/zshrc.d/common
diff options
context:
space:
mode:
authorKarel Kočí <cynerd@email.cz>2018-01-26 15:02:07 +0100
committerKarel Kočí <cynerd@email.cz>2018-01-26 15:26:36 +0100
commit47d3b6fc1966df43b37751165d6fa4229904c0fa (patch)
treecccb190aad69ed1afb93654922575a95e7745d03 /zshrc.d/common
downloadshellrc-47d3b6fc1966df43b37751165d6fa4229904c0fa.tar.gz
shellrc-47d3b6fc1966df43b37751165d6fa4229904c0fa.tar.bz2
shellrc-47d3b6fc1966df43b37751165d6fa4229904c0fa.zip
Initial commitv0.1
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