mirror of
https://github.com/oh-my-fish/oh-my-fish.git
synced 2025-01-23 13:39:47 +08:00
961d051c2e
Moving and renaming install_fish.sh to travis_install_fish Moving travis_* from tests to tools. rename: fish_user_function/ -> functions_override/ renaming travis_test.fish to test_runner.fish
13 lines
406 B
Bash
Executable File
13 lines
406 B
Bash
Executable File
#!/bin/sh
|
|
set -e
|
|
BINDIR=$HOME/fish/bin
|
|
# check to see if fish bin doesn't exist
|
|
if [ ! -x "$BINDIR/fish" ]; then
|
|
cd /tmp
|
|
wget -O - https://github.com/fish-shell/fish-shell/releases/download/2.2.0/fish-2.2.0.tar.gz | tar xzv
|
|
cd fish-2.2.0 && ./configure --prefix=$HOME/fish && make -j2 && make install;
|
|
strip $BINDIR/fish $BINDIR/fish_indent $BINDIR/mimedb
|
|
else
|
|
echo 'Using cached directory.';
|
|
fi
|