Gen 320: fixed sound effects for common utilities
This commit is contained in:
@@ -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
|
||||
|
||||
Reference in New Issue
Block a user