summary refs log tree commit diff stats
diff options
context:
space:
mode:
-rw-r--r--zsh/.config/zsh/.zshrc8
1 files changed, 8 insertions, 0 deletions
diff --git a/zsh/.config/zsh/.zshrc b/zsh/.config/zsh/.zshrc
index 52dc5a5..658b3d0 100644
--- a/zsh/.config/zsh/.zshrc
+++ b/zsh/.config/zsh/.zshrc
@@ -1,4 +1,12 @@
 # -*- mode: sh; -*-
+if [[ -d "$HOME/.zplugin/bin/zmodules/Src" ]]
+then
+  module_path+=( "/Users/alan/.zplugin/bin/zmodules/Src" )
+  zmodload zdharma/zplugin
+else
+  echo "Zplugin module is not installed" >&2
+fi
+
 source $HOME/.zplugin/bin/zplugin.zsh
 autoload -Uz _zplugin
 (( ${+_comps} )) && _comps[zplugin]=_zplugin