How to enable the Heroku command in Oh-My-Zsh to complete the Function

Source: Internet
Author: User
Tags heroku toolbelt

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:

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

Open the terminal and log on to heroku with the user you created [here:

  1. Heroku login
  2. Enter your Heroku credentials.
  3. Email: enockseth@unixmen.com
  4. Password (the input is hidden ):
  5. Authentication successful.

This shows that heroku is running.

Open. zshrc in your usual Text Editor:

  1. 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:

Contact Us

The content source of this page is from Internet, which doesn't represent Alibaba Cloud's opinion; products and services mentioned on that page don't have any relationship with Alibaba Cloud. If the content of the page makes you feel confusing, please write us an email, we will handle the problem within 5 days after receiving your email.

If you find any instances of plagiarism from the community, please send an email to: info-contact@alibabacloud.com and provide relevant evidence. A staff member will contact you within 5 working days.

A Free Trial That Lets You Build Big!

Start building with 50+ products and up to 12 months usage for Elastic Compute Service

  • Sales Support

    1 on 1 presale consultation

  • After-Sales Support

    24/7 Technical Support 6 Free Tickets per Quarter Faster Response

  • Alibaba Cloud offers highly flexible support services tailored to meet your exact needs.