Skip to content
No description, website, or topics provided.
Branch: master
Clone or download
Fetching latest commit…
Cannot retrieve the latest commit at this time.
Type Name Latest commit message Commit time
Failed to load latest commit information.

Rareloop Mac Setup

Process to setup a fresh Mac install for development.


Install Homebrew

ruby -e "$(curl -fsSL"

Download this repo

cd ~/Desktop
curl -L >

Install what we need from Homebrew


Install what we need from NPM


Install some useful native applications


Setup some sensible OSX defaults


Get ready for Git

Edit ~/Desktop/dotfiles-master/.extra and edit:


Create an SSH Key

ssh-keygen -t rsa -b 4096 -C ""

Update Apache to use PHP from Homebrew

nano /etc/apache2/httpd.conf

Look for the line that contains LoadModule php5_module and replace with LoadModule php5_module /usr/local/opt/php56/libexec/apache2/

sudo apachectl -k restart

Install the dotfiles

source ~/Desktop/dotfiles-master/


Install custom Terminal theme

  • Open Terminal
  • Open Preferences
  • Goto Profiles tab
  • Import ~/Desktop/dotfiles-master/presets/Rareloop.terminal
  • Set as default

Setup code linting in Sublime Text

First, download & install sublime. Note: Using brew cask install sublime-text installed Sublime Text 2, not 3. Didn't seem to have one for 3.

Then, install Package Control.

Using Package Control, install the following packages:

  • All Autocomplete
  • Blade Snippets
  • Colorsublime
  • EditorConfig
  • Emmet
  • Handlebars
  • PHP-Twig
  • Sass
  • SASS Snippets
  • SideBarEnhancements
  • SublimeLinter
  • SublimeLinter-contrib-eslint
  • SublimeLinter-json
  • SublimeLinter-phpcs
  • Twig

Now, install dependencies for the linters:



  • npm install -g eslint


  • sudo gem install scss_lint

Material Theme

Sublime - User Settings

    "always_show_minimap_viewport": true,
    "auto_complete_selector": "source, meta.tag - punctuation.definition.tag.begin",
    "bold_folder_labels": true,
    "color_scheme": "Packages/Material Theme/schemes/Material-Theme.tmTheme",
    "ensure_newline_at_eof_on_save": true,
    "font_face": "Fira Code",
    "font_size": 19,
    "line_padding_bottom": 3,
    "line_padding_top": 3,
    "overlay_scroll_bars": "enabled",
    "theme": "Material-Theme.sublime-theme",
    "translate_tabs_to_spaces": true,
    "trim_trailing_white_space_on_save": true

Sublime - SublimeLinter Settings

    "user": {
        "debug": false,
        "delay": 0.25,
        "error_color": "D02000",
        "gutter_theme": "Packages/SublimeLinter/gutter-themes/Default/Default.gutter-theme",
        "gutter_theme_excludes": [],
        "lint_mode": "save only",
        "linters": {
            "eslint": {
                "@disable": false,
                "args": [],
                "excludes": []
            "jshint": {
                "@disable": false,
                "args": [],
                "excludes": []
            "json": {
                "@disable": false,
                "args": [],
                "excludes": [],
                "strict": true
            "php": {
                "@disable": false,
                "args": [],
                "excludes": []
            "phpcs": {
                "@disable": false,
                "args": [],
                "excludes": [],
                "standard": "PSR2"
            "scss": {
                "@disable": false,
                "args": [],
                "exclude-linter": [
                "excludes": [],
                "include-linter": ""
            "shellcheck": {
                "@disable": false,
                "args": [],
                "exclude": "",
                "excludes": []
        "mark_style": "outline",
        "no_column_highlights_line": false,
        "passive_warnings": false,
        "paths": {
            "linux": [],
            "osx": [],
            "windows": []
        "python_paths": {
            "linux": [],
            "osx": [],
            "windows": []
        "rc_search_limit": 3,
        "shell_timeout": 10,
        "show_errors_on_save": false,
        "show_marks_in_minimap": true,
        "syntax_map": {
            "html (django)": "html",
            "html (rails)": "html",
            "html 5": "html",
            "php": "html",
            "python django": "python"
        "warning_color": "DDB700",
        "wrap_find": true

Launch Sublime from the command line

For example:

sublime ./

Rareloop Slack Theme


Thanks to

Mathias Bynens for the original repo we used to start this guide.

You can’t perform that action at this time.