mirror of
https://github.com/jorgebucaran/fisher
synced 2024-06-28 23:01:50 +02:00
Merge pull request #516 from stefanmaric/master
Override fishfile content instead of replacing the file
This commit is contained in:
commit
9fc0779339
|
@ -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…
Reference in a new issue