mirror of
https://github.com/jorgebucaran/fisher
synced 2024-11-05 12:00:17 +00:00
Do not rewrite fishfile in ls or ls-remote.
This commit is contained in:
parent
d387963fdb
commit
27a46672d2
12
fisher.fish
12
fisher.fish
@ -273,10 +273,14 @@ function fisher
|
||||
complete -xc fisher -n "__fish_seen_subcommand_from l ls list u up update r rm remove uninstall" -a "$fisher_active_prompt" -d "Prompt"
|
||||
end
|
||||
|
||||
if test -z "$config"
|
||||
echo > $fisher_bundle
|
||||
else
|
||||
__fisher_plugin_get_url_info -- $config > $fisher_bundle
|
||||
switch "$cmd"
|
||||
case ls ls-remote
|
||||
case \*
|
||||
if test -z "$config"
|
||||
echo > $fisher_bundle
|
||||
else
|
||||
__fisher_plugin_get_url_info -- $config > $fisher_bundle
|
||||
end
|
||||
end
|
||||
|
||||
if test ! -z "$cache"
|
||||
|
Loading…
Reference in New Issue
Block a user