cri.dev
about posts rss

How to zsh and hub auto completition

Published on
Tagged with zsh1

Recently I installed hub and couldn’t get zsh git auto-complete to work.

After some research I found this gem, so the only thing you need to do is to:

mkdir -p ~/.oh-my-zsh/plugins/hub
curl https://raw.githubusercontent.com/github/hub/master/etc/hub.zsh_completion > ~/.oh-my-zsh/plugins/hub/_hub

Here, have a slice of pizza 🍕