Fish Shell - Install and Prompt Customization

Instead of the generic bash shell that comes with Ubuntu Linux, I installed the fish shell a while ago.

Fish is awesome because it guesses your tab completion, provides paths that you visit frequently, and is much more lightweight than bash.

sudo apt-get update
sudo apt-get install fish

To make fish your default shell:

chsh -s `which fish'

Then logging out and logging back in should put it into effect.

Because I don’t like the generic bash/fish prompts, I changed the prompt myself in the .config/fish/functions/

Here is my config file:








P.S. I have a discord server where we discuss and solve problems like this! If you’re having trouble setting up your config or want to share what your cool config looks like, we’d love to see it! Come join us and create a digital hackerspace community :) Join here!

Posts you might also like