fish_config

A browser should open (localhost:8000) with a website that allows you to perform certain configuration tweaks discussed below.

Change default colors

Change the prompt

The prompt function is defined here: ~/.config/fish/functions/fish_prompt.fish. There are various pre-defined prompt functions you can pick from, or you can create your own.

My prompt function is inside this gist. It may look a bit strange that commands are written in a second line. However, since my terminal usually takes up more space vertically than horizontally I prefer it. There’s also a blank line between each command to help improve readability. If you’re inside a git repository folder it should also display the name of the branch you’re on.

Add functions

Functions in fish wrap common shell tasks. For example, I created a new file: ~/.config/fish/functions/gs.fish with the following: