Skip to content

Instantly share code, notes, and snippets.

@juanpabloaj
Last active August 29, 2015 14:00
Show Gist options
  • Star 0 You must be signed in to star a gist
  • Fork 0 You must be signed in to fork a gist
  • Save juanpabloaj/11253939 to your computer and use it in GitHub Desktop.
Save juanpabloaj/11253939 to your computer and use it in GitHub Desktop.
Nitrous.io box initial commands
#!/bin/bash
export WORKON_HOME=~/Envs
mkdir $WORKON_HOME
source /usr/local/bin/virtualenvwrapper.sh
echo "hostshort=$(hostname | cut -d'-' -f3,4)" >> ~/.bashrc
echo 'export PS1="\[\033[01;32m\]$hostshort\[\033[00m\]:\[\033[01;36m\]\W\[\033[00m\]\$(parse_git_branch)\$ "' >> ~/.bashrc
echo "export WORKON_HOME=~/Envs" >> ~/.bashrc
echo "source /usr/local/bin/virtualenvwrapper.sh" >> ~/.bashrc
parts install ack
# update phantomjs
parts install phantomjs
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment