add git-prune alias #32

Merged
armel merged 1 commits from feature/zsh-gitprune-alias into master 2026-02-05 14:48:20 +01:00
Showing only changes of commit fd5e8f39da - Show all commits

View File

@@ -12,6 +12,9 @@
};
initContent = ''
alias git-prune="git fetch -p && git branch -vv | grep ': gone]' | grep -v '*' | awk '{print \$1}' | xargs -r git branch -D"
# Use kitty's ssh helper if running inside kitty
[ "$TERM" = "xterm-kitty" ] && alias ssh="kitty +kitten ssh"