mirror of
https://github.com/jorgebucaran/fisher
synced 2024-08-17 12:31:05 +02:00
Fix install script.
This commit is contained in:
parent
3ac0d9fe76
commit
d450cbd6d6
2 changed files with 3 additions and 1 deletions
|
@ -4,5 +4,5 @@ before_install:
|
||||||
- sudo apt-get update
|
- sudo apt-get update
|
||||||
- sudo apt-get -y install fish
|
- sudo apt-get -y install fish
|
||||||
script:
|
script:
|
||||||
- curl -sL get.fisherman.sh | fish
|
- git clone https://github.com/fisherman/fisherman
|
||||||
- fish -c "fisher i fishery/fishtape; fishtape test/*.fish"
|
- fish -c "fisher i fishery/fishtape; fishtape test/*.fish"
|
||||||
|
|
|
@ -140,6 +140,8 @@ function __fisher_install_fisherman
|
||||||
mkdir -p $fish_config
|
mkdir -p $fish_config
|
||||||
pushd $fish_config
|
pushd $fish_config
|
||||||
|
|
||||||
|
touch config.fish
|
||||||
|
|
||||||
echo 'set -g fisher_home $fisher_home' | sed 's|/\$||;s|$home|~|' >> fisherconf
|
echo 'set -g fisher_home $fisher_home' | sed 's|/\$||;s|$home|~|' >> fisherconf
|
||||||
echo 'set -g fisher_config $fisher_config' | sed 's|$home|~|' >> fisherconf
|
echo 'set -g fisher_config $fisher_config' | sed 's|$home|~|' >> fisherconf
|
||||||
echo 'source \$fisher_home/config.fish' >> fisherconf
|
echo 'source \$fisher_home/config.fish' >> fisherconf
|
||||||
|
|
Loading…
Reference in a new issue