changed sound effects for git related commands, added shell aliases that use them
This commit is contained in:
BIN
assets/sound/gitadd.wav
Normal file
BIN
assets/sound/gitadd.wav
Normal file
Binary file not shown.
Binary file not shown.
Binary file not shown.
Binary file not shown.
@@ -41,7 +41,7 @@
|
|||||||
mv = "mv -v";
|
mv = "mv -v";
|
||||||
cp = "cp -vr";
|
cp = "cp -vr";
|
||||||
gt = "gtrash";
|
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";
|
grub-update = "sudo grub-mkconfig -o /boot/grub/grub.cfg";
|
||||||
sr = "source ~/.zshrc";
|
sr = "source ~/.zshrc";
|
||||||
".." = "cd ..";
|
".." = "cd ..";
|
||||||
@@ -58,9 +58,18 @@
|
|||||||
nixconf = "yazi $FLAKEPATH/modules/sys/ && popd &> /dev/null";
|
nixconf = "yazi $FLAKEPATH/modules/sys/ && popd &> /dev/null";
|
||||||
hostconf = "yazi $FLAKEPATH/hosts && popd &> /dev/null";
|
hostconf = "yazi $FLAKEPATH/hosts && popd &> /dev/null";
|
||||||
nvimcfg = "yazi $FLAKEPATH/pkgs/nixvim/config && 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 = ''
|
initExtra = ''
|
||||||
|
|
||||||
|
gitcommit_sfx() {
|
||||||
|
git commit -m "$1"
|
||||||
|
scheck && runbg aplay ${self}/assets/sound/gitcommit.wav
|
||||||
|
}
|
||||||
unalias ls
|
unalias ls
|
||||||
ls() {
|
ls() {
|
||||||
eza -1 --group-directories-first --icons "$@"
|
eza -1 --group-directories-first --icons "$@"
|
||||||
|
|||||||
Reference in New Issue
Block a user