From 785e77f91a668710e448cced76adb2f5514bd51a Mon Sep 17 00:00:00 2001 From: Jorge Bucaran Date: Tue, 19 Apr 2016 01:09:40 +0900 Subject: [PATCH] Fix install script. --- .travis.yml | 2 +- bin/install | 2 ++ 2 files changed, 3 insertions(+), 1 deletion(-) diff --git a/.travis.yml b/.travis.yml index d3b5f36..033472b 100644 --- a/.travis.yml +++ b/.travis.yml @@ -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" diff --git a/bin/install b/bin/install index 68558b6..55e3629 100755 --- a/bin/install +++ b/bin/install @@ -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