mirror of
https://github.com/jorgebucaran/fisher
synced 2024-07-02 23:11:48 +02:00
refactor: improve readability / indentation
This commit is contained in:
parent
71974a2527
commit
d653e0e0e9
|
@ -189,7 +189,10 @@ function _fisher_commit
|
||||||
command touch $fishfile
|
command touch $fishfile
|
||||||
echo "created empty fishfile in $fishfile" | command sed "s|$HOME|~|" >&2
|
echo "created empty fishfile in $fishfile" | command sed "s|$HOME|~|" >&2
|
||||||
end
|
end
|
||||||
printf "%s\n" (_fisher_fishfile_format (echo -s $argv\;) (echo -s $removed_pkgs\;) < $fishfile) > $fishfile
|
printf "%s\n" (_fisher_fishfile_format (
|
||||||
|
echo -s $argv\;) (
|
||||||
|
echo -s $removed_pkgs\;
|
||||||
|
) < $fishfile) > $fishfile
|
||||||
|
|
||||||
set -l expected_pkgs (_fisher_fishfile_read < $fishfile)
|
set -l expected_pkgs (_fisher_fishfile_read < $fishfile)
|
||||||
set -l added_pkgs (_fisher_pkg_fetch_all $expected_pkgs)
|
set -l added_pkgs (_fisher_pkg_fetch_all $expected_pkgs)
|
||||||
|
|
Loading…
Reference in a new issue