loading...

fish shell configuration

nabbisen profile image Heddi Nabbisen ・1 min read

I was in search of how to hide username in console for the sake of getting more beautiful screenshots.
I found fish_config that fish shell officially provides.
It has execellent web-based UI for us to configure color theme, prompt style and so on.

Just type in the terminal:

$ fish_config
Enter fullscreen mode Exit fullscreen mode

Then your web browser will run and show the useful menus :)
With options, select one and click "Set ***", and it'll be done.

Besides, my current fish version is 3.0.2.


fish_config Web UI

colors

colors

prompt

prompt

functions

functions

variables

variables

history

history

bindings

bindings

abbreviations

abbreviations


After changing "prompt", great, my console shows just "$" at the top of prompt lines:

result

Happy coding.

Discussion

pic
Editor guide
Collapse
bharat profile image
Bharat

This is cool. I didn't know about fish_config at all. Thanks

Collapse
nabbisen profile image
Heddi Nabbisen Author

Hi, Bharat. Thank you for your commenting. You're welcome. I'm happy if this post helped you 😉