mirror of
https://github.com/fish-shell/fish-shell.git
synced 2026-04-25 20:41:15 -03:00
webconfig themes: shell-friendly filenames
For historical reasons (namely the webconfig origin), our theme names contain spaces and uppercase letters which can be inconvenient when using the "fish_config theme choose" shell command. Use more conventional file names. Web config still uses the pretty names, using the ubiquitous "# name:" property.
This commit is contained in:
@@ -1123,8 +1123,8 @@ class FishConfigHTTPRequestHandler(SimpleHTTPServer.SimpleHTTPRequestHandler):
|
||||
output = []
|
||||
output += [self.do_get_colors() | {"theme": "Current"}]
|
||||
output += [
|
||||
self.do_get_colors("themes/fish default.theme")
|
||||
| {"theme": "fish default"}
|
||||
self.do_get_colors("themes/fish-default.theme")
|
||||
| {"theme": "fish-default"}
|
||||
]
|
||||
|
||||
confighome = (
|
||||
|
||||
Reference in New Issue
Block a user