With Fisher
$ fisher install h-matsuo/fish-color-scheme-switcher
With Oh My Fish
$ omf install https://github.com/h-matsuo/fish-color-scheme-switcher
$ omf reload
scheme
command is available after installation.
$ scheme
Usage:
scheme list, ls
List available color schemes.
scheme preview [scheme-name]
Preview the color scheme of scheme-name.
If scheme-name is empty, preview the current scheme.
scheme set scheme-name
Set color scheme to scheme-name.
$ scheme ls | xargs -n1 -I {} fish -c 'scheme preview {} ; echo'
# Set color scheme to `Dracula` automatically on new session
$ echo 'scheme set dracula' >> "$HOME/.config/fish/config.fish"
See CONTRIBUTING.md.