diff --git a/home/programs/zsh/zshrc b/home/programs/zsh/zshrc index e655a9e..687c654 100644 --- a/home/programs/zsh/zshrc +++ b/home/programs/zsh/zshrc @@ -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]"' diff --git a/home/scripts/rebuild.sh b/home/scripts/rebuild.sh index 084d5d1..40421db 100644 --- a/home/scripts/rebuild.sh +++ b/home/scripts/rebuild.sh @@ -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