Created
May 28, 2020 08:55
-
-
Save ERPedersen/3932009d7573c1e3f6cdbca8dfd456a5 to your computer and use it in GitHub Desktop.
Open PHPStorm from terminal (MacOS)
This file contains hidden or bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
# Opens the provided directory in PHPStorm. If PHPStorm is not currently running | |
# the application will be opened. If PHPStorm is already running, the provided | |
# directory will be opened in a new project window. | |
# | |
# Examples: | |
# Relative path: pstorm . | |
# Absolute path: pstorm ~/Projects/my-project | |
function pstorm () { | |
open -a PhpStorm $1 | |
} |
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment