openwrt / openwrt/packages

fish: Missing default theme causes "No such theme: fish default" error on startup

Open
#29,443 3 comments 0 reactions 0 assignees View on GitHub

Nobody has claimed this yet.

bug
Dominant language
Makefile
Stars
4.6k
Forks
4k
Avg merge
3d 12h
Merged PRs (30d)
134

Description

Package Name

fish

Maintainer

@openwrt @Curtis Jiang jqqqqqqqqqq@gmail.com

OpenWrt Version

25.12.3

OpenWrt Target/Subtarget

mediatek/filogic

Steps to Reproduce
  1. Install the fish package on OpenWrt.
  2. Log in via SSH and start the fish shell.
  3. Observe the missing theme error message printed above the prompt.
Actual Behaviour

When starting fish, it tries to load the fish default theme, but the theme files seem to be stripped from the OpenWrt package (likely to save space). This results in the following harmless but annoying error message on every startup:

No such theme: fish default
Searched directories: /root/.config/fish/themes /usr/share/fish/tools/web_config/themes

Workaround / Suggested Fix:
I was able to fix this issue manually by downloading the missing default.theme file (which is less than 1KB) directly from the upstream fish-shell repository:

mkdir -p /root/.config/fish/themes
wget -O /root/.config/fish/themes/default.theme \
https://raw.githubusercontent.com/fish-shell/fish-shell/a3984ace4a1cbe9059ed6fcee1332a1c80951e02/share/themes/default.theme
fish_config theme choose default

It would be great if this single default.theme file could be included in the base package, or if the build included a patch that stops fish from requesting this theme on startup.

Confirmation Checklist

Contributor guide

Open the contributing guide

First steps

  1. Read the whole issue, then the project's contributing guide.
  2. Comment on the issue to say you are picking it up — it saves two people doing the same work.
  3. Fork the repository and make your change on a branch.
  4. Open a pull request that references the issue number.

Research direction

Start by reproducing the fish startup error on OpenWrt 25.12.3 and inspect the package contents against the upstream share/themes/default.theme file. Check whether the base package can include default.theme, then verify that starting fish no longer prints the missing-theme error and that fish_config theme choose default works.

Written by the indexing model from the issue text.

Assessment

Tech stack
shell
Domain
cli
Issue type
Bug
Difficulty
2/5
Estimated time
1-3 hours
Activity status
Quiet
Clarity
Mostly clear
Newbie friendliness
50/100

Get new issues in your inbox

A short digest of beginner-friendly GitHub issues.