From 36a9952f23d881bae68ff1ebf0f422edb97db142 Mon Sep 17 00:00:00 2001 From: Jorge Bucaran Date: Fri, 20 May 2016 08:24:16 +0900 Subject: [PATCH] Remove plugins if given full original name or url. Fix #291 --- fisher.fish | 4 ++-- 1 file changed, 2 insertions(+), 2 deletions(-) diff --git a/fisher.fish b/fisher.fish index 6e24d09..861df43 100644 --- a/fisher.fish +++ b/fisher.fish @@ -889,7 +889,7 @@ function __fisher_remove __fisher_show_spinner __fisher_plugin_decrement_ref_count "$name" - if test -f "$fisher_config/$i/fishfile" + if test -s "$fisher_config/$name/fishfile" while read -l i set -l name (__fisher_plugin_get_names "$i")[1] @@ -900,7 +900,7 @@ function __fisher_remove end __fisher_show_spinner - end < "$fisher_config/$i/fishfile" + end < "$fisher_config/$name/fishfile" end __fisher_plugin_disable "$fisher_config/$name"