Logo Questions Linux Laravel Mysql Ubuntu Git Menu
 

How to set oh-my-fish theme

Tags:

fish

I have installed oh-my-fish and bobthefish them, I want to use bobthefish theme, I follow his advise and put Theme bobthefish in my ~/.config/fish/config.fish and run omf install, but it report a bug:

fish: Unknown command 'Theme bobthefish'
~/.config/fish/config.fish (line 19): Theme bobthefish
                                      ^
from sourcing file ~/.config/fish/config.fish
    called during startup

This is my config.fish:

# Path to your oh-my-fish.
set -g OMF_PATH $HOME/.local/share/omf

# Path to your oh-my-fish configuration.
set -g OMF_CONFIG $HOME/.config/omf

fish_vi_mode
set --export EDITOR "vim"


### Configuration required to load oh-my-fish ###
# Note: Only add configurations that are required to be set before oh-my-fish is loaded.
# For common configurations, we advise you to add them to your $OMF_CONFIG/init.fish file or
# to create a custom plugin instead.

# Load oh-my-fish configuration.
source $OMF_PATH/init.fish

Theme bobthefish
like image 249
tian tong Avatar asked Oct 29 '25 00:10

tian tong


1 Answers

I am one of the contributors of Oh My Fish.

I highly recommend you upgrading from previous version by doing a clean install. Please follow the upgrade instructions present on Oh My Fish repository's README file.

After a clean install it's just a matter of issuing an omf install bobthefish and you will be into the theme.

If you still need help feel free to join our Slack and raise your voice!

like image 190
derekstavis Avatar answered Nov 01 '25 14:11

derekstavis



Donate For Us

If you love us? You can donate to us via Paypal or buy me a coffee so we can maintain and grow! Thank you!