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.

http://fishshell.com/

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/fish_prompt.fish.

Here is my config file: https://github.com/thallia/dotconfig/tree/master/fish/functions/fish_prompt.fish

shiverwind:

fish

rainbow:

fish1

fire:

fish2

{thallia}

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