Skip to content

Instantly share code, notes, and snippets.

@bencooling
Last active October 12, 2015 17:58
Show Gist options
  • Save bencooling/4065334 to your computer and use it in GitHub Desktop.
Save bencooling/4065334 to your computer and use it in GitHub Desktop.
Keep config files open in common sublime window
#!/bin/bash
# Shell script to open various conf files related to developing for the web
# Make sure no space after \ or infinite loop of sublime text opening will occur
#--------------------------------------------------------
subl -n \
/etc/hosts \
/etc/apache2/httpd.conf \
/etc/apache2/extra/httpd-vhosts.conf \
/Users/dnadigital/.bash_profile \
/Users/dnadigital/bin/confs \
/usr/local/etc/php/5.4/php.ini
echo "Configuration files opened in Sublime muthafuckaaaaaaaa"
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment