aboutsummaryrefslogtreecommitdiffstats
path: root/roles/setup_utils/files/zshrc
diff options
context:
space:
mode:
authorbinary <me@rgoncalves.se>2020-08-11 11:26:33 +0200
committerbinary <me@rgoncalves.se>2020-08-11 11:26:33 +0200
commit87a565c0481a58e0d5d8a2a3e33459f1af132ca6 (patch)
tree6c806691ca6d315c75c00df308be2a626e64c461 /roles/setup_utils/files/zshrc
parentd7a8eefeca0ad9cb6e5b6379be92ad4f1c109a72 (diff)
downloadinfrastructure-87a565c0481a58e0d5d8a2a3e33459f1af132ca6.tar.gz
moved dotfiles to utils
Diffstat (limited to 'roles/setup_utils/files/zshrc')
-rw-r--r--roles/setup_utils/files/zshrc21
1 files changed, 21 insertions, 0 deletions
diff --git a/roles/setup_utils/files/zshrc b/roles/setup_utils/files/zshrc
new file mode 100644
index 0000000..ed0a87b
--- /dev/null
+++ b/roles/setup_utils/files/zshrc
@@ -0,0 +1,21 @@
+export TERM=xterm-256color
+export LANG=en_US.UTF-8
+
+CASE_SENSITIVE="false"
+
+autoload -U history-search-end
+zle -N history-beginning-search-backward-end history-search-end
+zle -N history-beginning-search-forward-end history-search-end
+bindkey "^[[A" history-beginning-search-backward-end
+bindkey "^[[B" history-beginning-search-forward-end
+bindkey "^[[1;5C" forward-word
+bindkey "^[[1;5D" backward-word
+bindkey "\e[3~" delete-char
+bindkey '^[[Z' reverse-menu-complete
+
+zstyle ':completion:*' completer _complete
+zstyle ':completion:*' matcher-list '' 'm:{[:lower:][:upper:]}={[:upper:][:lower:]}' '+l:|=* r:|=*'
+autoload -Uz compinit
+compinit -u
+
+PROMPT="%B %n@%m %# %b"
remember that computers suck.