Skip to content

Instantly share code, notes, and snippets.

View louwers's full-sized avatar
🚲

Bart Louwers louwers

🚲
View GitHub Profile
@louwers
louwers / pacaur_install.sh
Last active September 30, 2017 00:45 — forked from tadly/pacaur_install.sh
A simple shell script to quickly / easily install "pacaur" on archlinux
#!/bin/sh
# If you are new to arch, I encourage you to at least read and understand what
# this script does befor blindley running it.
# That's why I didn't make a one-liner out of it so you have an easier time
# reading and understanding it :)
#
# This scripts purpose is purly to save you a few seconds on your new installation.
#
# Enjoy your time on an awesome system. Arch FTW!

Note: This version is slightly modified from the original. Creating a symlink to subl did not work for me, but copying did. The disadvantage of this approach is that you have to copy subl in Sublime Text.app to /usr/local/bin every time subl is updated. Try the original guide first if you want!

Launch Sublime Text 2 from the Mac OS X Terminal

Sublime Text 2 ships with a CLI called subl (why not "sublime", go figure). This utility is hidden in the following folder (assuming you installed Sublime in /Applications like normal folk. If this following line opens Sublime Text for you, then bingo, you're ready.

open /Applications/Sublime\ Text\ 2.app/Contents/SharedSupport/bin/subl

You can find more (official) details about subl here: http://www.sublimetext.com/docs/2/osx_command_line.html