Merge pull request #516 from stefanmaric/master

Override fishfile content instead of replacing the file
pull/531/head
Jorge Bucaran 5 years ago committed by GitHub
commit 9fc0779339
No known key found for this signature in database
GPG Key ID: 4AEE18F83AFDEB23

@ -240,8 +240,7 @@ function _fisher_commit -a cmd
end
end
_fisher_fmt <$fishfile | _fisher_write $cmd $actual_pkgs >$fishfile.
command mv -f $fishfile. $fishfile
printf "%s\n" (_fisher_fmt <$fishfile | _fisher_write $cmd $actual_pkgs) >$fishfile
_fisher_self_complete

Loading…
Cancel
Save