Last active
June 16, 2017 17:41
-
-
Save gwa/8803319 to your computer and use it in GitHub Desktop.
Bash one-liner to open sublime project in current directory from the command line.
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
# Add this to your ~/.profile to open the sublime project file in the current directory using `sublp` without any arguments. | |
# Note: `subl` ust be in your PATH. | |
# | |
# Usage: Navigate to folder containing project file. Type `sublp` and hit enter. | |
# | |
# Thanks to http://www.reddit.com/user/execrator for the hint! | |
# | |
alias sublp='subl --project *.sublime-project' |
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment