Created
July 20, 2017 03:44
-
-
Save looselytyped/f90d0886684835179a43daae9c455b55 to your computer and use it in GitHub Desktop.
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
#!/bin/bash | |
projectFile=$(find $1 -name "*.sublime-project" -maxdepth 1) | |
echo $projectFile | |
if [ $projectFile ] | |
then | |
subl $projectFile | |
else | |
subl $1 | |
fi |
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment