Setup `fish` shell and `oh my fish`
Install fish
f
riendlyi
nteractivesh
ell
Restart the operating system for the changes to be updated
Install oh-my-fish
Oh My Fish
provides core infrastructure to allow you to install packages which extend or modify the look of your shell. It’s fast, extensible and easy to use.
https://github.com/oh-my-fish/oh-my-fish
Troubleshoot
For GNOME Terminal (default terminal on Ubuntu)
-
Open GNOME Terminal Preferences:
- Open the terminal.
- Click the hamburger menu (☰) in the top-right corner.
- Select Preferences.
-
Select Your Profile:
- In the left pane, choose the profile you want to edit (e.g., “Unnamed” or “Default”).
-
Change Font:
- Scroll down to the Text section.
- Toggle Custom Font on.
- Click the font selection box, and a font chooser dialog will appear.
-
Select Font:
- Search for
FiraCode Nerd Font
in the font list. - Choose the desired size and click Select.
- Search for
-
Save and Close:
- The font will update immediately. Close the preferences window to apply the changes.
For VS Code
In the Editor
-
Open VS Code Settings:
- Click the gear icon in the bottom-left corner and select Settings.
- Alternatively, press
Ctrl + ,
.
-
Search for Font Family:
- In the search bar at the top, type
editor.fontFamily
.
- In the search bar at the top, type
-
Update the Font Family:
- Click the pencil icon next to Editor: Font Family and edit the field.
- Add
FiraCode Nerd Font
at the beginning of the list:
-
Enable Font Ligatures (Optional):
- Search for editor.fontLigatures in the settings.
- Toggle the option On, or add this line in your
settings.json
file:
In the Integrated Terminal
-
Open Settings:
- Follow the steps above to access the Settings.
-
Search for Terminal Font Family:
- In the search bar, type
terminal.integrated.fontFamily
.
- In the search bar, type
-
Update the Terminal Font:
- Click the pencil icon and edit the field.
- Add
FiraCode Nerd Font
:
-
Adjust Font Size (Optional):
- Search for
terminal.integrated.fontSize
and increase or decrease the size as needed, e.g.,14
.
- Search for