You cannot select more than 25 topics
Topics must start with a letter or number, can include dashes ('-') and can be up to 35 characters long.
13 lines
406 B
Bash
13 lines
406 B
Bash
9 years ago
|
#!/bin/sh
|
||
|
set -e
|
||
9 years ago
|
BINDIR=$HOME/fish/bin
|
||
9 years ago
|
# check to see if fish bin doesn't exist
|
||
9 years ago
|
if [ ! -x "$BINDIR/fish" ]; then
|
||
9 years ago
|
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;
|
||
9 years ago
|
strip $BINDIR/fish $BINDIR/fish_indent $BINDIR/mimedb
|
||
9 years ago
|
else
|
||
|
echo 'Using cached directory.';
|
||
|
fi
|