-
-
Save eugenesvk/6c1be562b1d094eb3f75 to your computer and use it in GitHub Desktop.
Installs Fish Shell without root access
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
# 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