oh-my-fish/script/bootstrap.sh

13 lines
313 B
Bash
Raw Normal View History

#!/usr/bin/env bash
2015-01-17 11:21:03 +08:00
if [ "$TRAVIS_OS_NAME" = "linux" ]; then
ppa=ppa:fish-shell/$FISH_PPA
sudo add-apt-repository -y $ppa
sudo apt-get update
sudo apt-get -y install fish
else
brew install fish $BREW_OPTIONS
fi
2015-01-17 11:05:54 +08:00
curl -L https://github.com/$TRAVIS_REPO_SLUG/raw/$TRAVIS_BRANCH/tools/install.fish | fish