From c8e0ac280b53a92179faf36ea1cf24c5f02070be Mon Sep 17 00:00:00 2001 From: Kyler Clay Date: Wed, 2 Oct 2024 02:10:01 -0400 Subject: [PATCH] Commit for generation 150 --- glasshouse-desktop/modules/zshell.nix | 10 +++++----- 1 file changed, 5 insertions(+), 5 deletions(-) diff --git a/glasshouse-desktop/modules/zshell.nix b/glasshouse-desktop/modules/zshell.nix index 915cd46..611538a 100644 --- a/glasshouse-desktop/modules/zshell.nix +++ b/glasshouse-desktop/modules/zshell.nix @@ -126,13 +126,13 @@ wiki_update() { # Functions ls() { command ls --group-directories-first --color=always -F1 "$@" | sort -f -k1 - sounds_enabled && aplay ~/sound/sys/ls.wav + sounds_enabled && aplay ~/sound/sys/ls.wav 2> /dev/null } # cd and ls after cd() { builtin cd "$@" && ls - sounds_enabled && aplay ~/sound/sys/cd.wav + sounds_enabled && aplay ~/sound/sys/cd.wav 2> /dev/null } src() { autoload -U zrecompile @@ -185,7 +185,7 @@ safe_rm() { # Perform the removal if no checks or confirmation is "y" if [ "$check" = false ] || [ "$confirm" = "y" ]; then - check_sounds && aplay ~/sound/sys/rm.wav + check_sounds && aplay ~/sound/sys/rm.wav 2> /dev/null /run/current-system/sw/bin/rm -rfv "$dir" else echo "Operation cancelled for '$dir'." @@ -198,7 +198,7 @@ safe_rm() { nixswitch() { - sounds_enabled && aplay ~/sound/sys/nixswitch-start.wav + sounds_enabled && aplay ~/sound/sys/nixswitch-start.wav 2> /dev/null builtin cd "$HOME/sysflakes" nix flake update @@ -212,7 +212,7 @@ nixswitch() { fi sudo nixos-rebuild switch --flake "$HOME/sysflakes#glasshouse" builtin cd $OLDPWD - sounds_enabled && aplay ~/sound/sys/update.wav + sounds_enabled && aplay ~/sound/sys/update.wav 2> /dev/null } journal() { # journal for keeping track of stuff I do that isn't declared in my nix config