Merge pull request 'add git-prune alias' (#32) from feature/zsh-gitprune-alias into master

Reviewed-on: #32
This commit was merged in pull request #32.
This commit is contained in:
2026-02-05 14:48:19 +01:00

View File

@@ -12,6 +12,9 @@
}; };
initContent = '' 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 # Use kitty's ssh helper if running inside kitty
[ "$TERM" = "xterm-kitty" ] && alias ssh="kitty +kitten ssh" [ "$TERM" = "xterm-kitty" ] && alias ssh="kitty +kitten ssh"