more commandline changes

This commit is contained in:
Noah Masur
2022-07-05 19:40:54 -04:00
parent c646f126e2
commit 758321adc3
2 changed files with 4 additions and 7 deletions

View File

@ -13,9 +13,8 @@
if test "$argv[1]" = "offline"
set option "--option substitute false"
end
commandline --replace "git -C ${config.dotfilesPath} add --all"
commandline --append "
darwin-rebuild switch $option --flake ${config.dotfilesPath}#macbook"
git -C ${config.dotfilesPath} add --all
commandline -r "darwin-rebuild switch $option --flake ${config.dotfilesPath}#macbook"
commandline --function execute
'';
};