-
-
Save theoparis/ccee022f652d726914f847671db3ed72 to your computer and use it in GitHub Desktop.
Installs Fish Shell without root access
This file contains hidden or 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
#!/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 | |
FISH_SHELL_VERSION=3.2.2 | |
# create our directories | |
mkdir -p $HOME/local $HOME/fish_shell_tmp | |
cd $HOME/fish_shell_tmp | |
# download source files for Fish Shell | |
curl -L -o fish-${FISH_SHELL_VERSION}.tar.xz https://github.com/fish-shell/fish-shell/releases/download/${FISH_SHELL_VERSION}/fish-${FISH_SHELL_VERSION}.tar.xz | |
# extract files, configure, and compile | |
tar xvzf fish-${FISH_SHELL_VERSION}.tar.xz | |
cd fish-${FISH_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