320 current 2025-02-09 04:14:04 25.05.20241217.d3c42f1 6.6.66 *

This commit is contained in:
2025-02-09 04:14:17 -05:00
parent b0244cc434
commit 6f4a9f4bf8
2 changed files with 4 additions and 3 deletions

View File

@@ -145,8 +145,8 @@ alias mktar="tar -cvzf"
# by default, put zathura windows in new process
# alias zathura="zathura --fork"
alias zathura="sh /home/synchronous/.scripts/zathura/zathura_conditional.sh"
alias exclude-zathura="pwd >> /home/synchronous/.scripts/zathura/excluded;echo 'done'"
# alias zathura="sh /home/synchronous/.scripts/zathura/zathura_conditional.sh"
# alias exclude-zathura="pwd >> /home/synchronous/.scripts/zathura/excluded;echo 'done'"
alias os='vim /home/synchronous/current-semester/computer-systems/notes/os.md'
alias asm='echo "c->asm: gcc -S [file] \nc->asm w/o fluff: gcc -S -O2 -fno-asynchronous-unwind-tables [file]\nc->executable: gcc [file] -no-pie -o [filename]"'

View File

@@ -35,7 +35,8 @@ echo ""
echo "NixOS Rebuilding..."
# Rebuild, output simplified errors, log trackebacks
sudo /run/current-system/sw/bin/nixos-rebuild switch --flake /home/synchronous/nix-cfg/flake.nix &> /tmp/nixos-switch.log
sudo /run/current-system/sw/bin/nixos-rebuild switch --flake /home/synchronous/nix-cfg/flake.nix 2>&1 | tee /tmp/nixos-switch.log
# cat /tmp/nixos-switch.log | grep --color error && exit 1
if grep --color error /tmp/nixos-switch.log; then