mirror of
https://github.com/ohmyzsh/ohmyzsh.git
synced 2026-02-13 03:01:32 +01:00
Fix spectrum_ls() to show colors
This commit is contained in:
parent
df0305aba5
commit
6a39971919
1 changed files with 1 additions and 1 deletions
|
|
@ -22,7 +22,7 @@ done
|
||||||
# Show all 256 colors with color number
|
# Show all 256 colors with color number
|
||||||
function spectrum_ls() {
|
function spectrum_ls() {
|
||||||
for code in {000..255}; do
|
for code in {000..255}; do
|
||||||
print -P -- "$code: %F{$code}Test%f"
|
print -P -- "$code: $FG[$code]Test%{$reset_color%}"
|
||||||
done
|
done
|
||||||
}
|
}
|
||||||
|
|
||||||
|
|
|
||||||
Loading…
Add table
Add a link
Reference in a new issue