Skip to content

Instantly share code, notes, and snippets.

@championswimmer
Created August 22, 2018 19:25
Show Gist options
  • Save championswimmer/a512aa9c0300036efdde4553f5bb6ab8 to your computer and use it in GitHub Desktop.
Save championswimmer/a512aa9c0300036efdde4553f5bb6ab8 to your computer and use it in GitHub Desktop.
IntelliJ IDEA Launch Script (MacOS)
#!/bin/sh
ARG=$@
if [ "$ARG" == "." ]
then
ARG=$(pwd)
fi
echo "Opening IntelliJ IDEA with args = ${ARG}"
open -a "IntelliJ IDEA" --args $ARG
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment