Fix git-gc periodic timer
This commit is contained in:
parent
2c0034fc82
commit
70475ce7c9
|
@ -103,7 +103,7 @@ in {
|
||||||
description = "Garbage collect git repositories";
|
description = "Garbage collect git repositories";
|
||||||
path = [ git fd ];
|
path = [ git fd ];
|
||||||
script = ''
|
script = ''
|
||||||
${pkgs.fd}/bin/fd -g -H --type directory '.git' /home/coolneng/Documents --exec git -C '{}' gc
|
${pkgs.fd}/bin/fd -g -H --type directory '.git' /home/coolneng/Documents/* --exec git -C '{}' gc
|
||||||
${pkgs.fd}/bin/fd -g -H --type directory '.git' /home/coolneng/Projects --exec git -C '{}' gc
|
${pkgs.fd}/bin/fd -g -H --type directory '.git' /home/coolneng/Projects --exec git -C '{}' gc
|
||||||
${pkgs.fd}/bin/fd -g -H --type directory '.git' /home/coolneng/Repos --exec git -C '{}' gc
|
${pkgs.fd}/bin/fd -g -H --type directory '.git' /home/coolneng/Repos --exec git -C '{}' gc
|
||||||
'';
|
'';
|
||||||
|
|
Loading…
Reference in New Issue