Skip to content

Instantly share code, notes, and snippets.

@spences10
Last active April 26, 2018 11:28
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 spences10/940e6e6cede4a5c4e3bc191fade76f0c to your computer and use it in GitHub Desktop.
Save spences10/940e6e6cede4a5c4e3bc191fade76f0c to your computer and use it in GitHub Desktop.
Install fish shell on CentOS via Vagrant

Install fish and oh my fish on CentOS

If you haven't updated to the latest version of git take a look at this SO post on installing Git on CentOS also take a look at the full post here for installing fish on other OS'

# switch back with 'su - vagrant' or preferred user when needed
sudo -i
cd /etc/yum.repos.d/
# install wget
yum -y install wget
# for CentOS 7
wget http://download.opensuse.org/repositories/shells:fish:release:2/CentOS_7/shells:fish:release:2.repo
# Update and upgrade the system:
yum repolist
yum update
# Install fish
yum -y install fish
# Install omf
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