Skip to content

Instantly share code, notes, and snippets.

@eugenesvk
Forked from masih/fish_shell_local_install.sh
Last active March 16, 2016 12:24
Show Gist options
  • Star 1 You must be signed in to star a gist
  • Fork 1 You must be signed in to fork a gist
  • Save eugenesvk/6c1be562b1d094eb3f75 to your computer and use it in GitHub Desktop.
Save eugenesvk/6c1be562b1d094eb3f75 to your computer and use it in GitHub Desktop.
Installs Fish Shell without root access
# Bash script for installing Fish Shell on systems without root access
# Fish Shell will be installed in $HOME/local/bin
# It's assumed that wget and a C/C++ compiler are installed
set -e # exit on error
FISH_VER=2.2.0
mkdir -p $HOME/local $HOME/fish_shell_tmp # create our directories
cd $HOME/fish_shell_tmp
wget http://fishshell.com/files/${FISH_VER}/fish-${FISH_VER}.tar.gz # download source files for Fish Shell
# extract files, configure, and compile
tar xvzf fish-${FISH_VER}.tar.gz
cd fish-${FISH_VER}
./configure --prefix=$HOME/local --disable-shared
make
make install
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment