Skip to content

Instantly share code, notes, and snippets.

@gwa
Last active June 16, 2017 17:41
Show Gist options
  • Save gwa/8803319 to your computer and use it in GitHub Desktop.
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.
# 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