Commit f0a7adcd authored by Robby Russell's avatar Robby Russell
Browse files

Merge pull request #2176 from dejanlukan/spectrum

Added the spectrum_bls function, which prints all 256 colors set as the background.
parents b8c15668 f057737e
......@@ -26,3 +26,10 @@ function spectrum_ls() {
done
}
# Show all 256 colors where the background is set to specific color
function spectrum_bls() {
for code in {000..255}; do
((cc = code + 1))
print -P -- "$BG[$code]$code: Test %{$reset_color%}"
done
}
Markdown is supported
0% or .
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment