fish shell configuration

nabbisen - Jun 27 '19 - - Dev Community

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.

. . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . .
Terabox Video Player