Skip to content

Instantly share code, notes, and snippets.

@bastman
Created October 15, 2018 14:32
Show Gist options
  • Save bastman/3fb6b4ee84c9b9360d4c400811c797eb to your computer and use it in GitHub Desktop.
Save bastman/3fb6b4ee84c9b9360d4c400811c797eb to your computer and use it in GitHub Desktop.
open intellij from terminal
open -a /Applications/IntelliJ\ IDEA.app
@mattc41190
Copy link

# bash_profile -- `ij .` will open intelij in current dir 
function ij () {
  $("open -a /Applications/IntelliJ\ IDEA.app $1")
}

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