mirror of
https://github.com/robbyrussell/oh-my-zsh.git
synced 2026-11-27 02:43:03 +01:00
Merge branch 'master' of github.com:robbyrussell/oh-my-zsh
This commit is contained in:
commit
5e4d89385f
3 files changed
+129
No files matched your search
@@ -18,3 +18,11 @@ for color in {000..255}; do
|
||||
FG[$color]="%{[38;5;${color}m%}"
|
||||
BG[$color]="%{[48;5;${color}m%}"
|
||||
done
|
||||
|
||||
# Show all 256 colors with color number
|
||||
function spectrum_ls() {
|
||||
for code in {000..255}; do
|
||||
print -P -- "$code: %F{$code}Test%f"
|
||||
done
|
||||
}
|
||||
|
||||
Reference in new issue
Block a user