Skip to content

Instantly share code, notes, and snippets.

Embed
What would you like to do?
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
You can’t perform that action at this time.