Fix install script.

This commit is contained in:
Jorge Bucaran 2016-04-19 01:09:40 +09:00
parent be6c9603c7
commit 2de1102436
No known key found for this signature in database
GPG key ID: E54BA3C0E646DB30
2 changed files with 3 additions and 1 deletions

View file

@ -4,5 +4,5 @@ before_install:
- sudo apt-get update
- sudo apt-get -y install fish
script:
- curl -sL get.fisherman.sh | fish
- git clone https://github.com/fisherman/fisherman
- fish -c "fisher i fishery/fishtape; fishtape test/*.fish"

View file

@ -140,6 +140,8 @@ function __fisher_install_fisherman
mkdir -p $fish_config
pushd $fish_config
touch config.fish
echo 'set -g fisher_home $fisher_home' | sed 's|/\$||;s|$home|~|' >> fisherconf
echo 'set -g fisher_config $fisher_config' | sed 's|$home|~|' >> fisherconf
echo 'source \$fisher_home/config.fish' >> fisherconf