summaryrefslogtreecommitdiff
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
downloadzsh-ddbd1887ed527c87cca969c0e3e0f48afcf4b4fb.tar.gz
zsh-ddbd1887ed527c87cca969c0e3e0f48afcf4b4fb.tar.xz
zsh-ddbd1887ed527c87cca969c0e3e0f48afcf4b4fb.zip
Add zplug and fast-syntax-highlighting
-rw-r--r--.gitmodules6
m---------plugins/fast-syntax-highlighting0
m---------zplug0
-rw-r--r--zshrc14
4 files changed, 20 insertions, 0 deletions
diff --git a/.gitmodules b/.gitmodules
new file mode 100644
index 0000000..9e01c66
--- /dev/null
+++ b/.gitmodules
@@ -0,0 +1,6 @@
+[submodule "zplug"]
+ path = zplug
+ url = gh:zplug/zplug
+[submodule "plugins/fast-syntax-highlighting"]
+ path = plugins/fast-syntax-highlighting
+ url = https://github.com/zdharma/fast-syntax-highlighting
diff --git a/plugins/fast-syntax-highlighting b/plugins/fast-syntax-highlighting
new file mode 160000
+Subproject 7d6524e6fbdfa6c3bdd5cf840f6aac0bd39f514
diff --git a/zplug b/zplug
new file mode 160000
+Subproject 06c6f33bf1543f30d26835867fb73d599e060d0
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