Skip to content

Instantly share code, notes, and snippets.

@ric-bianchi
Last active August 10, 2020 12:02
Show Gist options
  • Star 0 You must be signed in to star a gist
  • Fork 0 You must be signed in to fork a gist
  • Save ric-bianchi/4301f19d46e6f96d2371ecd730353a2f to your computer and use it in GitHub Desktop.
Save ric-bianchi/4301f19d46e6f96d2371ecd730353a2f to your computer and use it in GitHub Desktop.
Install the latest version (at the time of writing) of the Fish shell + Powerline + Powerline fonts on Centos7
# Download the latest (at the time of writing) source of Fish, build, and install
wget https://github.com/fish-shell/fish-shell/releases/download/3.1.2/fish-3.1.2.tar.gz
tar -xvf fish-3.1.2.tar.gz
cd fish-3.1.2
camke .
make -j
sudo make install
# install Powerline, for an enanched Fish prompt
sudo yum install python-pip
pip install --user powerline-status
# install Powerline fonts
# a) Clone the latest Font
git clone https://github.com/powerline/fonts.git --depth=1
# b) install them for the user
cd fonts ./install.sh
# c) optional, istall them for all users by copying the fonts to a gloabl folder
# sudo mkdir /usr/share/fonts # if the global folder is not present
cp ~/.local/share/fonts/* /usr/share/fonts
# Install the Oh-My-Fish! package manager to install Fish plugins, themes, and add-ons
# a) first, install PIP, if you don't have it. It is not installed by default on Centos7.
sudo yum install python-pip
# b) then, install the OMF package manager
curl -L https://get.oh-my.fish | fish
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment