How to enable the Heroku command in Oh-My-Zsh to complete the Function
The Heroku client is a command line interface tool used to create and manage Heroku applications.
Requirements:
- Heroku toolbelt
- Oh-My-Zsh (how to install)
This article is not about heroku, nor about how to use heroku, but just shows users how they can use oh-my-zsh to easily input heroku commands. In addition, you should install heroku toolbelt to perform the corresponding operations in this article. For Ubuntu and Debian distributions, you can run the following command to install them:
- Wget-qO-https://toolbelt.heroku.com/install-ubuntu.sh | sh
Open the terminal and log on to heroku with the user you created [here:
- Heroku login
- Enter your Heroku credentials.
- Email: enockseth@unixmen.com
- Password (the input is hidden ):
- Authentication successful.
This shows that heroku is running.
Open. zshrc in your usual Text Editor:
- Vim. zshrc
Git is the only plug-in enabled by default.
Add heroku in the displayed plug-in selection area:
Restart the terminal, enter heroku, and press the tab key to complete the operation:
10 Linux Interview Questions and Answers in different application scenarios
10 core Linux Interview Questions and answers
Via: http://www.unixmen.com/enable-tab-complete-heroku-commands-oh-zsh/
Translator: JonathanKang Proofreader: wxy
This article was originally translated by LCTT and launched with the Linux honor in China
This article permanently updates the link address: