summaryrefslogtreecommitdiff
path: root/zshrc
diff options
context:
space:
mode:
authorTill Höppner2017-05-05 02:58:16 +0200
committerTill Höppner2017-05-05 02:58:16 +0200
commitddbd1887ed527c87cca969c0e3e0f48afcf4b4fb (patch)
tree727b05ccc1da825fbb8cbffbab6df98d07fcf9da /zshrc
downloadzsh-ddbd1887ed527c87cca969c0e3e0f48afcf4b4fb.tar.gz
zsh-ddbd1887ed527c87cca969c0e3e0f48afcf4b4fb.tar.xz
zsh-ddbd1887ed527c87cca969c0e3e0f48afcf4b4fb.zip
Add zplug and fast-syntax-highlighting
Diffstat (limited to 'zshrc')
-rw-r--r--zshrc14
1 files changed, 14 insertions, 0 deletions
diff --git a/zshrc b/zshrc
new file mode 100644
index 0000000..f410736
--- /dev/null
+++ b/zshrc
@@ -0,0 +1,14 @@
+source /cfg/zsh/zplug/init.zsh
+
+zstyle ':zplug:tag' 'from' 'local'
+
+zplug 'zdharma/fast-syntax-highlighting'
+
+if ! zplug check --verbose; then
+ printf "Install? [y/N]: "
+ if read -q; then
+ echo; zplug install
+ fi
+fi
+
+zplug load --verbose