mirror of
https://github.com/oh-my-fish/oh-my-fish.git
synced 2024-11-23 03:33:15 +08:00
17 lines
321 B
Bash
17 lines
321 B
Bash
|
#!/usr/bin/env bash
|
||
|
|
||
|
set -o pipefail
|
||
|
set -o errexit
|
||
|
set -o nounset
|
||
|
#set -o xtrace
|
||
|
|
||
|
# Return if we are not in a Pull Request
|
||
|
if [[ "$TRAVIS_OS_NAME" = "linux" ]]; then
|
||
|
sudo apt-add-repository -y ppa:fish-shell/release-2
|
||
|
sudo apt-get update
|
||
|
sudo apt-get install -y fish
|
||
|
else
|
||
|
brew update
|
||
|
brew install fish tree
|
||
|
fi
|