h-matsuo / fish-color-scheme-switcher

A fish shell :fish: plugin to switch color schemes :rainbow:

Geek Repo:Geek Repo

Github PK Tool:Github PK Tool

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.

About

A fish shell :fish: plugin to switch color schemes :rainbow:

License:MIT License


Languages

Language:Shell 100.0%