changed sound effects for git related commands, added shell aliases that use them

This commit is contained in:
pagedmov
2024-10-26 01:12:29 -04:00
parent febe16fb4b
commit 728de7730f
5 changed files with 10 additions and 1 deletions

BIN
assets/sound/gitadd.wav Normal file

Binary file not shown.

Binary file not shown.

Binary file not shown.

Binary file not shown.

View File

@@ -41,7 +41,7 @@
mv = "mv -v";
cp = "cp -vr";
gt = "gtrash";
gtp = "gtrash put";
gtp = "scheck && runbg aplay ${self}/assets/sound/rm.wav; gtrash put";
grub-update = "sudo grub-mkconfig -o /boot/grub/grub.cfg";
sr = "source ~/.zshrc";
".." = "cd ..";
@@ -58,9 +58,18 @@
nixconf = "yazi $FLAKEPATH/modules/sys/ && popd &> /dev/null";
hostconf = "yazi $FLAKEPATH/hosts && popd &> /dev/null";
nvimcfg = "yazi $FLAKEPATH/pkgs/nixvim/config && popd &> /dev/null";
#git
"ga." = "scheck && runbg aplay ${self}/assets/sound/gitadd.wav; git add .";
gcm = "gitcommit_sfx";
gp = " git push && scheck && runbg aplay ${self}/assets/sound/gitpush.wav;";
};
initExtra = ''
gitcommit_sfx() {
git commit -m "$1"
scheck && runbg aplay ${self}/assets/sound/gitcommit.wav
}
unalias ls
ls() {
eza -1 --group-directories-first --icons "$@"