feat: add git branch clean up function

This commit is contained in:
DannyDannyDanny 2026-02-25 12:57:20 +01:00
parent 19132a127d
commit d3e1fbb85d
3 changed files with 25 additions and 0 deletions

View file

@ -5,6 +5,7 @@
enable = true;
shellAliases = {
cdtmp = "cd $(mktemp -d)";
gclean = "git cleanup-branches";
theme = "bash ~/dotfiles/scripts/theme.sh";
music = "mpv --no-video --log-file=~/music_history.log \"$(find $HOME/Music/ -type f \\( -name '*.mp3' -o -name '*.wav' -o -name '*.flac' -o -name '*.m4a' -o -name '*.ogg' \\) | fzf)\"";
weather = "curl wttr.in/?T";

View file

@ -74,6 +74,9 @@
core = {
editor = "nvim";
};
alias = {
"cleanup-branches" = "!bash ~/dotfiles/scripts/git-cleanup-branches.sh";
};
};
};