summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
-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