summary refs log tree commit diff stats
diff options
context:
space:
mode:
authorAlan Pearce2019-09-23 17:45:50 +0200
committerAlan Pearce2019-09-23 17:46:43 +0200
commitee1c22c202ea5b82dbda40028266de27b228cad4 (patch)
tree8f1eeec12fdd47533fd24b464276adc097d78628
parent5b88b6550f781e60d3a246bd1f6e142182d74030 (diff)
downloaddotfiles-ee1c22c202ea5b82dbda40028266de27b228cad4.tar.lz
dotfiles-ee1c22c202ea5b82dbda40028266de27b228cad4.tar.zst
dotfiles-ee1c22c202ea5b82dbda40028266de27b228cad4.zip
zsh: fix zplugin module detection logic
-rw-r--r--zsh/.config/zsh/.zshrc2
1 files changed, 1 insertions, 1 deletions
diff --git a/zsh/.config/zsh/.zshrc b/zsh/.config/zsh/.zshrc
index 593f2f9..bc96d37 100644
--- a/zsh/.config/zsh/.zshrc
+++ b/zsh/.config/zsh/.zshrc
@@ -1,5 +1,5 @@
 # -*- mode: sh; -*-
-if [[ -d "$HOME/.zplugin/bin/zmodules/Src" ]]
+if [[ -f "$HOME/.zplugin/bin/zmodules/Src/zdharma/zplugin.so" ]]
 then
   module_path+=( "/Users/alan/.zplugin/bin/zmodules/Src" )
   zmodload zdharma/zplugin