Fixed branch removal (adapting from bash to zsh)