Created
April 11, 2018 00:17
-
-
Save marquesghm/f32282dd8b61ddf72c4bc2d5460fadc2 to your computer and use it in GitHub Desktop.
Script to open sublime 2 anywhere
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
wget -nc https://download.sublimetext.com/Sublime%20Text%202.0.2%20x64.tar.bz2 -P ~/Downloads/ | |
mkdir -p ~/Downloads/sublime | |
tar -xjf ~/Downloads/Sublime\ Text\ 2.0.2\ x64.tar.bz2 --directory ~/Downloads/sublime --strip-components 1 | |
cd ~/Downloads/sublime | |
ln -sf sublime_text subl | |
PATH=$PATH:$HOME/Downloads/sublime | |
nohup ./sublime_text & |
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment