fix: fixed git commit reuse message script

This commit is contained in:
Patrick 2023-09-19 12:13:39 +02:00
parent 6e4a4ea353
commit 1b0fd3963b
Signed by: patrick
GPG key ID: 451F95EFB8BECD0F
2 changed files with 3 additions and 5 deletions

View file

@ -44,10 +44,6 @@
in {
enable = true;
hooks.postswitch = {
"reload_wm" = "herbstclient reload";
};
profiles.AStA_links = asta_conf {
# AStA linker arbeitsplatz linker Monitor
DP-1-1 = "00ffffffffffff000472ed0688687101111e010380351e782aa135a35b4fa327115054b30c00714f818081c081009500b300d1c001012a4480a070382740082098040f282100001a023a801871382d40582c45000f282100001e000000fd00304b1e5512000a202020202020000000fc00423234375920430a202020202001cf020327f14b9002030411121300001f01230907078301000065030c001000681a00000101304be6023a801871382d40582c45000f282100001e8c0ad08a20e02d10103e96000f2821000018011d007251d01e206e2855000f282100001e8c0ad090204031200c4055000f282100001800000000000000000000000000000000d0";

View file

@ -1,10 +1,12 @@
{pkgs, ...}: {
home.shellAliases = {
commit-reuse-message = ''git commit -v -S --edit --file "$(git rev-parse --git-dir)"/COMMIT_EDITMSG'';
};
programs.git = {
enable = true;
difftastic.enable = true;
aliases = {
cs = "commit -v -S";
cr = "commit -v -S --edit --file \"$(git rev-parse --git-dir)\"/COMMIT_EDITMSG'";
s = "status";
a = "add";
p = "push";