Merge branch 'master' of git.2li.ch:Nebucatnetzer/nixos

This commit is contained in:
Andreas Zweili 2022-07-14 13:06:41 +02:00
commit 640b2a4cb4

View File

@ -110,4 +110,11 @@
};
# raw files
home.file.".config/git/hooks".source = ./hooks;
home.shellAliases = {
git-clean = ''
git fetch --all -p;
git branch --merged origin/master | grep -v "\*" | xargs git branch -d;
git branch -vv | grep -v '\[origin/'| grep -v "\*" | awk '{ print $1; }' | xargs -r git branh -D;
'';
};
}