commit 34990b9373f73adefc30092248549b02bd98fd21
parent 45263e589fc8f475abec39b9f609f06567c1d98b
Author: Taco-C <perian.forod@gmail.com>
Date: Thu, 7 Feb 2019 17:11:26 +0100
added zsh-syntax-highlighting
Diffstat:
2 files changed, 8 insertions(+), 4 deletions(-)
diff --git a/.zshrc b/.zshrc
@@ -1,5 +1,6 @@
# .zshrc
+# Fixes for the Home, End and Delete buttons
bindkey "\e[H" beginning-of-line
bindkey "\e[F" end-of-line
bindkey "\e[3~" delete-char
@@ -7,17 +8,19 @@ bindkey "\e[3~" delete-char
HISTFILE="$XDG_DATA_HOME/zsh/histfile"
HISTSIZE=10000
SAVEHIST=10000
+PROMPT='%F{yellow}[%1~]%f '
+
setopt appendhistory autocd extendedglob nomatch notify
unsetopt beep
bindkey -v
+# Plugins
zstyle :compinstall filename '~/.zshrc'
-autoload -Uz compinit
-compinit
+autoload -Uz compinit && compinit
source /usr/share/zsh/plugins/zsh-autosuggestions/zsh-autosuggestions.zsh
+source /usr/share/zsh/plugins/zsh-syntax-highlighting/zsh-syntax-highlighting.zsh
-PROMPT='%F{yellow}[%1~]%f '
-
+# Aliases
[ -f "$XDG_CONFIG_HOME/aliases" ] && source "$XDG_CONFIG_HOME/aliases"
diff --git a/installed-packs b/installed-packs
@@ -2,6 +2,7 @@ nvim
zsh
zsh-completions
zsh-autosuggestions
+zsh-syntax-highlighting
ranger
termite
surf