How To Enable Tab Complete Heroku Commands In Oh-My-Zsh

How To Enable Tab Complete Heroku Commands In Oh-My-Zsh

Heroku Client is the (Command Line Interface) CLI tool for creating and managing Heroku apps.

Requirements:

Note this post is not talk about heroku, it’s just to show users how they can ease typing of commands with oh-my-zsh, so am NOT going to talk into detail on doing things. Also you should have heroku toolbelt installed to make this work. Is simple for Ubuntu and Debian derivatives,Install by running the command below:

wget -qO- https://toolbelt.heroku.com/install-ubuntu.sh | sh

Open Terminal and login into heroku with you account created here:

heroku login
Enter your Heroku credentials.
Email: [email protected]
Password (typing will be hidden): 
Authentication successful.

That shows heroku is up and running.

Open .zshrc in your favourite text editor

vim .zshrc

zsh_git

By default git is the only plugin enabled.

Add heroku to the plugins section as shown below:

zsh_heroku

Restart teminal, type heroku press tab and you’re good to go:

heroku_tab_complete

Please shareShare on Facebook0Share on Google+0Tweet about this on TwitterShare on LinkedIn0Share on Reddit1Digg thisShare on StumbleUpon0Share on VKBuffer this page