320 current 2025-02-09 04:14:04 25.05.20241217.d3c42f1 6.6.66 *
This commit is contained in:
@@ -145,8 +145,8 @@ alias mktar="tar -cvzf"
|
|||||||
|
|
||||||
# by default, put zathura windows in new process
|
# by default, put zathura windows in new process
|
||||||
# alias zathura="zathura --fork"
|
# alias zathura="zathura --fork"
|
||||||
alias zathura="sh /home/synchronous/.scripts/zathura/zathura_conditional.sh"
|
# alias zathura="sh /home/synchronous/.scripts/zathura/zathura_conditional.sh"
|
||||||
alias exclude-zathura="pwd >> /home/synchronous/.scripts/zathura/excluded;echo 'done'"
|
# alias exclude-zathura="pwd >> /home/synchronous/.scripts/zathura/excluded;echo 'done'"
|
||||||
|
|
||||||
alias os='vim /home/synchronous/current-semester/computer-systems/notes/os.md'
|
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]"'
|
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]"'
|
||||||
|
|||||||
@@ -35,7 +35,8 @@ echo ""
|
|||||||
echo "NixOS Rebuilding..."
|
echo "NixOS Rebuilding..."
|
||||||
|
|
||||||
# Rebuild, output simplified errors, log trackebacks
|
# 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
|
# cat /tmp/nixos-switch.log | grep --color error && exit 1
|
||||||
|
|
||||||
if grep --color error /tmp/nixos-switch.log; then
|
if grep --color error /tmp/nixos-switch.log; then
|
||||||
|
|||||||
Reference in New Issue
Block a user