Skip to content

Instantly share code, notes, and snippets.

Show Gist options
  • Save daveenguyen/677e2ff53c120e5f9883 to your computer and use it in GitHub Desktop.
Save daveenguyen/677e2ff53c120e5f9883 to your computer and use it in GitHub Desktop.
#!/bin/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.
# exit on error
set -e
FHISH_SHELL_VERSION=2.1.0
# create our directories
mkdir -p $HOME/local $HOME/tmux_tmp
cd $HOME/tmux_tmp
# download source files for Fish Shell
wget http://fishshell.com/files/2.1.0/fish-${FHISH_SHELL_VERSION}.tar.gz
# extract files, configure, and compile
tar xvzf fish-${FHISH_SHELL_VERSION}.tar.gz
cd fish-${FHISH_SHELL_VERSION}
./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