mirror of
https://github.com/jorgebucaran/fisher
synced 2024-10-09 09:36:53 +02:00
Remove plugins if given full original name or url. Fix #291
This commit is contained in:
parent
d6d4c5deaf
commit
36a9952f23
1 changed files with 2 additions and 2 deletions
|
@ -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"
|
||||
|
|
Loading…
Reference in a new issue