• Home
  • Contact
fish-shell.png

Improve your shell using fish and oh my fish

Jesus Manuel Olivas
January 27, 2016

This will be a short post to answer a recurring question about my shell configuration, when doing presentations, sharing a video or screenshot.

@jmolivas what is it that is showing your previous command as you type in the terminal?

— David Hernandez (@davidnarrabilis) February 18, 2015


@jmolivas the visual autocomplete in your @drupalconsole lightning talk is nice - what extra shell setup is going on there?

— Chris Burgess (@xurizaemon) February 23, 2015


@jmolivas what is your zsh plugin or theme in order to get the path like ~/d/d/m in your terminal ?

— Kevin Gautreau (@Kgaut) December 5, 2015

What is my setup?

Installing iTerm2

Not rocket science just download, unzip and drag to your Applications directory.

Installing fish (using brew)

You can choose between downloading an installer, an application or using brew.

This is the instruction to install in your system using brew.

loading...

Switching to fish

If you wish to use fish as your default shell, use the following command.

loading...

Installing Oh My Fish

Once you have fish installed you will need to execute curl to download it.

loading...

Installing the agnoster theme

The previous installation instruction enabled a new command omf that you will need to use to download the agnoster theme.

loading...

Fixing the font issue

In order to have a better experience using the agnoster theme, you may need to download Menlo font patched to work with Powerline. You can download from this Github repository https://github.com/abertsch/Menlo-for-Powerline

Now you need to complete this two steps:

  • Unzip and double-click the font in Finder and select Install this font.
  • For use with iTerm, change your settings. Preferences > Profiles > Text.

Make sure you set Non-ASCII font smaller than Regular Font in order to make Non-ASCII characters looks better.

This is an image with the final result.

Fish shell

We are CMS specialist and Headless is our passion

Our team has several years of experience working with traditional CMS as Drupal and Wordpress and more than a couple of years using those systems as Headless CMS and providing integrations with modern front-end tools as GatsbyJS, NextJS and others.
Let's talk