fix formatting

This commit is contained in:
buffet 2024-08-27 18:52:59 +02:00
parent eed46ec277
commit d6cc2fbe7a
Signed by: chef
SSH key fingerprint: SHA256:W4esalldcL3NhUvlxqk+cPV0rg8gfvSi6ebZmHOgyP0
2 changed files with 6 additions and 9 deletions

View file

@ -1,7 +1,4 @@
{ {pkgs, ...}: {
pkgs,
...
}: {
imports = [ imports = [
./bash.nix ./bash.nix
./cargo.nix ./cargo.nix

View file

@ -2,13 +2,13 @@
home-manager.users.buffet = { home-manager.users.buffet = {
home.packages = [ home.packages = [
(pkgs.writeScriptBin "git-entr" '' (pkgs.writeScriptBin "git-entr" ''
#!/bin/sh #!/bin/sh
echo "looping entr. press ctrl-c twice to exit" echo "looping entr. press ctrl-c twice to exit"
while sleep 1; do while sleep 1; do
git ls-files -cdmo --exclude-standard | entr -d "$@" git ls-files -cdmo --exclude-standard | entr -d "$@"
done done
'') '')
]; ];
}; };