Last active
August 10, 2020 12:02
-
-
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
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
# 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