Do not rewrite fishfile in ls or ls-remote.

This commit is contained in:
Jorge Bucaran 2016-04-30 18:41:13 +09:00
parent d387963fdb
commit 27a46672d2
No known key found for this signature in database
GPG key ID: E54BA3C0E646DB30

View file

@ -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" 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 end
if test -z "$config" switch "$cmd"
echo > $fisher_bundle case ls ls-remote
else case \*
__fisher_plugin_get_url_info -- $config > $fisher_bundle if test -z "$config"
echo > $fisher_bundle
else
__fisher_plugin_get_url_info -- $config > $fisher_bundle
end
end end
if test ! -z "$cache" if test ! -z "$cache"