mirror of
https://github.com/fish-shell/fish-shell
synced 2024-12-25 12:23:09 +00:00
parent
7216e36cb1
commit
e70ed961ea
1 changed files with 2 additions and 1 deletions
|
@ -30,6 +30,7 @@ Not all terminal emulators support all these features.
|
|||
|
||||
`set_color` uses the terminfo database to look up how to change terminal colors on whatever terminal is in use. Some systems have old and incomplete terminfo databases, and may lack color information for terminals that support it.
|
||||
|
||||
Note that setting either color to "normal" will reset both back- and foreground colors.
|
||||
|
||||
\subsection set_color-example Examples
|
||||
|
||||
|
@ -37,5 +38,5 @@ Not all terminal emulators support all these features.
|
|||
set_color red; echo "Roses are red"
|
||||
set_color blue; echo "Violets are blue"
|
||||
set_color 62A; echo "Eggplants are dark purple"
|
||||
set_color normal; echo "Normal is nice too"
|
||||
set_color normal; echo "Normal is nice" # This will reset background, too
|
||||
\endfish
|
||||
|
|
Loading…
Reference in a new issue