Gen 320: fixed sound effects for common utilities

This commit is contained in:
pagedMov
2024-10-11 01:00:26 -04:00
parent d9ea0376f0
commit 39f6951e08
4 changed files with 7 additions and 5 deletions

View File

@@ -62,9 +62,10 @@
};
initExtra = ''
unalias ls
ls() {
eza -1 --group-directories-first --icons "$@"
s_check && runbg aplay ~/sound/sys/ls.wav
scheck && runbg aplay ~/sound/sys/ls.wav
}
cd() {
@@ -72,7 +73,7 @@
eza -1 --group-directories-first --icons "$@"
builtin cd "$@" || exit
export SOUNDS_ENABLED=1
s_check && (aplay ~/sound/sys/cd.wav > /dev/null 2>&1 &)
scheck && (aplay ~/sound/sys/cd.wav > /dev/null 2>&1 &)
}
if [ ! -e $HOME/.zsh_history ]; then
touch $HOME/.zsh_history