Commit bab07b95f10de5b030dfc8390cb7e59604c330a3
1 parent
9b408937eb
Exists in
master
and in
2 other branches
spectrum.zsh: ADD working function spectrum_fls
Showing 1 changed file with 8 additions and 0 deletions Side-by-side Diff
repos/robbyrussell/oh-my-zsh/lib/spectrum.zsh
| ... | ... | @@ -29,6 +29,14 @@ function spectrum_ls() { |
| 29 | 29 | done |
| 30 | 30 | } |
| 31 | 31 | |
| 32 | +# Show all 256 colors (mj fix) | |
| 33 | +function spectrum_fls() { | |
| 34 | + for code in {000..255}; do | |
| 35 | + print -P -- "$FG[$code]$code: $ZSH_SPECTRUM_TEXT %{$reset_color%}" | |
| 36 | + done | |
| 37 | +} | |
| 38 | + | |
| 39 | + | |
| 32 | 40 | # Show all 256 colors where the background is set to specific color |
| 33 | 41 | function spectrum_bls() { |
| 34 | 42 | for code in {000..255}; do |