Skip to content

Instantly share code, notes, and snippets.

@asimpson
Last active December 11, 2015 19:48
Show Gist options
  • Save asimpson/4650949 to your computer and use it in GitHub Desktop.
Save asimpson/4650949 to your computer and use it in GitHub Desktop.
Installer for project-init(https://github.com/sparkbox/project-init/archive/master.zip) bash function
#!/bin/bash
PROFILE=~/.bash_profile
if ! [ -e "$PROFILE" ] && [ -e ~/.bashrc ]; then
PROFILE=~/.bashrc
fi
curl -sSLo ~/.sparkbox-init.sh https://gist.github.com/raw/4646138/init.sh
echo ". ~/.sparkbox-init.sh" >> "$PROFILE"
echo ".sparkbox-init installed."
source $PROFILE
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment