repositories / dotfiles

dotfiles

bugabingas dorkfiles

owned by bugabinga

nushell: sy maintenence script

749bb7d65cc257bb207d8d344cb137d10f9c69c7

Oliver Jan Krylow <oliver@bugabinga.net> ·

unsigned

Browse filesCompare with HEAD

Changed files (1)

nushell/scripts/sy.nu

Modified
18 18 check-deps
20 20 let git_commit_notes = [ '-C' $env.NOTES commit '--all' ]
21 - let git_push_notes = [ '-C' $env.NOTES push ]
21 + let git_push_notes = [ '-C' $env.NOTES push '-ff' ]
22 22 let git_commit_dotfiles = [ '-C' $env.DOTFILES commit '--all' ]
23 - let git_push_dotfiles = [ '-C' $env.DOTFILES push ]
23 + let git_push_dotfiles = [ '-C' $env.DOTFILES push '-ff' ]
25 25 # print git ...$git_commit_notes
26 - run-external git ...$git_commit_notes
26 + try { run-external git ...$git_commit_notes }
27 27 # print git $git_push_notes
28 28 run-external git ...$git_push_notes
29 29 # print git $git_commit_dotfiles
30 - run-external git ...$git_commit_dotfiles
30 + try { run-external git ...$git_commit_dotfiles }
31 31 # print git $git_push_dotfiles
32 32 run-external git ...$git_push_dotfiles