Skip to content

Instantly share code, notes, and snippets.

@CraigMorton
Last active March 26, 2019 09:50
Show Gist options
  • Save CraigMorton/f25d872373675835302166aeea0ca5ec to your computer and use it in GitHub Desktop.
Save CraigMorton/f25d872373675835302166aeea0ca5ec to your computer and use it in GitHub Desktop.

To create a idea command in your terminal to open a given project directory with IntelliJ IDEA, type the following command in terminal

alias idea="open -a 'IntelliJ IDEA CE' $@"

To keep this alias every time you open a new terminal in future, add the above line anywhere in your ~/.zshrc file.

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment