Skip to content

h-matsuo/fish-color-scheme-switcher

Folders and files

NameName
Last commit message
Last commit date

Latest commit

 

History

28 Commits
 
 
 
 
 
 
 
 
 
 

Repository files navigation

logo

fish-color-scheme-switcher

Want to change fish's syntax highlighting color scheme?

fish-shell plugin license

demo

Installation

With Fisher

$ fisher install h-matsuo/fish-color-scheme-switcher
$ omf install https://github.com/h-matsuo/fish-color-scheme-switcher
$ omf reload

Usage

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.

Tips

Comparing all available schemes

$ scheme ls | xargs -n1 -I {} fish -c 'scheme preview {} ; echo'

Saving your configurations

# Set color scheme to `Dracula` automatically on new session
$ echo 'scheme set dracula' >> "$HOME/.config/fish/config.fish"

Adding new color scheme

See CONTRIBUTING.md.

Limitations

⚠️ This plugin manages syntax highlighting color scheme only. Fish's plugins cannot affect other color settings such as color definitions in other fish themes, terminal's appearance / backgrounds, etc.