Skip to content

Instantly share code, notes, and snippets.

@drawcard
Last active January 29, 2016 07:44
Show Gist options
  • Save drawcard/c6d12eda08b66eb98f7e to your computer and use it in GitHub Desktop.
Save drawcard/c6d12eda08b66eb98f7e to your computer and use it in GitHub Desktop.
The New Vagrant Server Experience®

So you want a Vagrant Server with LAMP, Gulp, Bower, NPM, blah blah. And you want it done today, not next Christmas.

"Sounds good Chris, I don't feel like copying hundreds of lines of text from the Ubuntu Help Forum."

Scotch Box NAO

Now I have a great LAMP box running, what next?

  • Install some useful system stuff:
sudo apt-get install htop php5-gd

source /antigen/antigen.zsh

# Load the oh-my-zsh's library.
antigen use oh-my-zsh

antigen bundle zsh-users/zsh-syntax-highlighting # Prompt command highlighting niceness
antigen bundle git # Oh My Zsh - git extras
antigen bundle nojhan/liquidprompt # More informative prompt for GIT
antigen bundle joel-porquet/zsh-dircolors-solarized.git #Decent looking colour system for the ls command

# Load the theme. Disabled because we're using Liquid Prompt instead.
# antigen theme robbyrussell

# Tell antigen that you're done.
antigen apply

# ZSH colored autocompletion - use my LS_COLORS - gets rid of fugly green folder appearance when <tab>bing autocomplete
zstyle ':completion:*:default' list-colors ${(s.:.)LS_COLORS}

If you're developing themes using Roots & Sage

  • run sudo apt-get install autoconf before compiling anything
  • If you're migrating a theme to another location or you are switching Git branches in a theme run: npm cache clean ; rm -rf node_modules ; npm install in the theme folder.
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment