summaryrefslogtreecommitdiff
path: root/plugins.zsh
diff options
context:
space:
mode:
Diffstat (limited to 'plugins.zsh')
-rw-r--r--plugins.zsh14
1 files changed, 14 insertions, 0 deletions
diff --git a/plugins.zsh b/plugins.zsh
new file mode 100644
index 0000000..130a2e5
--- /dev/null
+++ b/plugins.zsh
@@ -0,0 +1,14 @@
+case ${ID} in
+ gentoo)
+ promptinit gentoo
+ compinit gentoo
+ _zsh_syntax_highlighting="/usr/share/zsh/site-functions/zsh-syntax-highlighting.zsh"
+ ;;
+ debian)
+ _zsh_syntax_highlighting="/usr/share/zsh-syntax-highlighting/zsh-syntax-highlighting.zsh"
+ ;;
+esac
+
+if [[ -f ${_zsh_syntax_highlighting} ]]; then
+ source "${_zsh_syntax_highlighting}"
+fi