Last active
January 29, 2017 18:36
-
-
Save webflo/0bad4c45f039092c58a32d59abd630a7 to your computer and use it in GitHub Desktop.
This file contains 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
#!/bin/bash | |
filepath=$@ | |
if [ ${filepath: -1} = ":" ]; then | |
filepath="${filepath%?}" | |
fi | |
$HOME/bin/appswitch -a PhpStorm | |
$HOME/bin/pstorm $filepath | |
# Appswitch: https://sabi.net/nriley/software/#appswitch | |
# iTerm: Run commannd ... /Users/fweber/bin/phpstorm \1:\2 |
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment