Skip to content

HTTPS clone URL

Subversion checkout URL

You can clone with
or
.
Download ZIP
Branch: master
Fetching contributors…

Cannot retrieve contributors at this time

executable file 22 lines (16 sloc) 0.482 kB
#!/bin/bash -e
# vim: set ts=2 sw=2:
FRESH_REPO="${1:-vic/...}"
FRESH_RC="${2:-fresh/main}"
FRESH_GIT="${3:-git://github.com/$FRESH_REPO.git}"
[ -f "${BASH_SOURCE[0]}" ] &&
FRESH_GIT="$( cd -P "$( dirname "${BASH_SOURCE[0]}" )" && pwd )"
cd
if [ ! -f ~/.freshrc ]; then
curl -sL get.freshshell.com | bash
source ~/.fresh/build/shell.sh
git clone $FRESH_GIT ~/.fresh/source/$FRESH_REPO
rm -f ~/.freshrc
ln -s ~/.fresh/source/$FRESH_REPO/$FRESH_RC ~/.freshrc
fi
fresh
Jump to Line
Something went wrong with that request. Please try again.