Skip to content

Instantly share code, notes, and snippets.

@taprootphoto
Forked from rowanmanning/my-sugars.sh
Created February 2, 2012 17:52
Show Gist options
  • Save taprootphoto/1724839 to your computer and use it in GitHub Desktop.
Save taprootphoto/1724839 to your computer and use it in GitHub Desktop.
My Favourite Espresso Sugars
cd ~/Library/Application\ Support/Espresso/Sugars;
echo "Installing Sugars:";
if [ ! -d ./CSS3.sugar ]; then
echo "Installing CSS3.sugar...";
git clone -q git://github.com/minimalweb/CSS3.sugar.git ./CSS3.sugar;
else
echo "CSS3.sugar already installed, attempting update...";
cd CSS3.sugar;
git fetch origin;
git merge origin/master;
cd ../;
fi
if [ ! -d ./HTML5.sugar ]; then
echo "Installing HTML5.sugar...";
git clone -q git://github.com/minimalweb/HTML5.sugar.git ./HTML5.sugar;
else
echo "HTML5.sugar already installed, attempting update...";
cd HTML5.sugar;
git fetch origin;
git merge origin/master;
cd ../;
fi
if [ ! -d ./HTMLBundle.sugar ]; then
echo "Installing HTMLBundle.sugar...";
git clone -q git://github.com/onecrayon/HTMLBundle.sugar.git ./HTMLBundle.sugar;
else
echo "HTMLBundle.sugar already installed, attempting update...";
cd HTMLBundle.sugar;
git fetch origin;
git merge origin/master;
cd ../;
fi
if [ ! -d ./jQuery.sugar ]; then
echo "Installing jQuery.sugar...";
git clone -q git://github.com/derekr/jquery.sugar.git ./jQuery.sugar;
else
echo "jQuery.sugar already installed, attempting update...";
cd jQuery.sugar;
git fetch origin;
git merge origin/master;
cd ../;
fi
if [ ! -d ./Regex.sugar ]; then
echo "Installing Regex.sugar...";
git clone -q git://github.com/elliottcable/regex.sugar.git ./Regex.sugar;
else
echo "Regex.sugar already installed, attempting update...";
cd Regex.sugar;
git fetch origin;
git merge origin/master;
cd ../;
fi
if [ ! -d ./SQL.sugar ]; then
echo "Installing SQL.sugar...";
git clone -q git://github.com/fileability/sql.sugar.git ./SQL.sugar;
else
echo "SQL.sugar already installed, attempting update...";
cd SQL.sugar;
git fetch origin;
git merge origin/master;
cd ../;
fi
if [ ! -d ./CoffeeScript.sugar ]; then
echo "Installing CoffeeScript.sugar...";
git clone -q git://github.com/artisonian/CoffeeScript.sugar.git ./CoffeeScript.sugar;
else
echo "CoffeeScript.sugar already installed, attempting update...";
cd CoffeeScript.sugar;
git fetch origin;
git merge origin/master;
cd ../;
fi
if [ ! -d ./LESS.sugar ]; then
echo "Installing LESS.sugar...";
git clone -q git://github.com/mkoistinen/LESS.sugar.git ./LESS.sugar;
else
echo "LESS.sugar already installed, attempting update...";
cd LESS.sugar;
git fetch origin;
git merge origin/master;
cd ../;
fi
echo "All installed! Restart Espresso now.";
cd $current_dir;
eval "$(curl -fsSL https://gist.github.com/raw/1724839/my-sugars.sh)";
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment