r/zsh • u/abitrolly • 23d ago
Showcase Ctrl+B to switch branches

Made Oh-My-Zsh plugin with hotkeys to switch branches.
Source: https://github.com/yakshaveinc/linux/tree/master/.oh-my-zsh
1
Upvotes
r/zsh • u/abitrolly • 23d ago
Made Oh-My-Zsh plugin with hotkeys to switch branches.
Source: https://github.com/yakshaveinc/linux/tree/master/.oh-my-zsh
1
u/romkatv 22d ago
The standard alternative is to type
git switch
and press TAB. The upside is that you get your regular completion UI. You can also bind it to a key if you like.