Skip to content

Instantly share code, notes, and snippets.

@spences10
Created April 26, 2018 09:12
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/ce408e2feb9cbd2a5005396bf2e49daf to your computer and use it in GitHub Desktop.
Save spences10/ce408e2feb9cbd2a5005396bf2e49daf 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

# switch back with 'su - vagrant' or preferred user when needed
sudo -i
cd /etc/yum.repos.d/
# 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 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