mirror of
https://github.com/jorgebucaran/fisher
synced 2024-07-02 23:11:48 +02:00
Remove plugins if given full original name or url. Fix #291
This commit is contained in:
parent
d6d4c5deaf
commit
36a9952f23
|
@ -889,7 +889,7 @@ function __fisher_remove
|
||||||
__fisher_show_spinner
|
__fisher_show_spinner
|
||||||
__fisher_plugin_decrement_ref_count "$name"
|
__fisher_plugin_decrement_ref_count "$name"
|
||||||
|
|
||||||
if test -f "$fisher_config/$i/fishfile"
|
if test -s "$fisher_config/$name/fishfile"
|
||||||
while read -l i
|
while read -l i
|
||||||
set -l name (__fisher_plugin_get_names "$i")[1]
|
set -l name (__fisher_plugin_get_names "$i")[1]
|
||||||
|
|
||||||
|
@ -900,7 +900,7 @@ function __fisher_remove
|
||||||
end
|
end
|
||||||
|
|
||||||
__fisher_show_spinner
|
__fisher_show_spinner
|
||||||
end < "$fisher_config/$i/fishfile"
|
end < "$fisher_config/$name/fishfile"
|
||||||
end
|
end
|
||||||
|
|
||||||
__fisher_plugin_disable "$fisher_config/$name"
|
__fisher_plugin_disable "$fisher_config/$name"
|
||||||
|
|
Loading…
Reference in a new issue