fish: Missing default theme causes "No such theme: fish default" error on startup
Nobody has claimed this yet.
- 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
- Install the
fishpackage on OpenWrt. - Log in via SSH and start the
fishshell. - 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
- The package is maintained in this repository.
- I understand that issues related to the base OpenWrt repository or LuCI repository will be closed.
- I am reporting an issue for OpenWrt, not an unsupported fork.
Contributor guide
First steps
- Read the whole issue, then the project's contributing guide.
- Comment on the issue to say you are picking it up — it saves two people doing the same work.
- Fork the repository and make your change on a branch.
- 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