From ee1c22c202ea5b82dbda40028266de27b228cad4 Mon Sep 17 00:00:00 2001 From: Alan Pearce Date: Mon, 23 Sep 2019 17:45:50 +0200 Subject: zsh: fix zplugin module detection logic --- zsh/.config/zsh/.zshrc | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/zsh/.config/zsh/.zshrc b/zsh/.config/zsh/.zshrc index 593f2f90..bc96d37a 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 -- cgit 1.4.1