Created
February 29, 2012 10:55
-
-
Save metakeule/1939963 to your computer and use it in GitHub Desktop.
here a simple wrapper script to start sublime text 2 and include environment variables under ubuntu
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 | |
# make it executable and symlink /usr/bin/subl to it | |
# don't source .bashrc since it won't work (I guess it makes sure it's only source once in the system) | |
source /home/yourname/.bash_env # put your env variables into this file and source it in .bashrc too, if you need them somewhere else | |
exec "$(dirname "$(readlink -f "$0")")/sublime_text"; |
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment