tweaks on several shell utilities

This commit is contained in:
2024-11-19 18:59:30 -05:00
parent 590e715613
commit 836f24d416
6 changed files with 12 additions and 9 deletions

View File

@@ -1,10 +1,13 @@
{ pkgs }:
{ pkgs, self }:
pkgs.writeShellApplication {
name = "git-compose";
runtimeInputs = with pkgs; [
git
alsa-utils
gawk
myScripts.color-commit
myScripts.s_check
myScripts.playshellsound
];
text = ''
set -e
@@ -83,6 +86,7 @@ pkgs.writeShellApplication {
git add "''${lines[@]}"
git commit -m "$msg" | color-commit
fi
playshellsound ${self}/assets/sound/gitcommit.wav
)
'';
}