mirror of
https://github.com/notwa/rc
synced 2024-11-05 08:19:03 -08:00
don't return nonzero in morecolors
This commit is contained in:
parent
590b5618b2
commit
e6e0283c20
1 changed files with 1 additions and 0 deletions
|
@ -13,6 +13,7 @@ morecolors() { ### @- print all 256 colors that are available on most terminals.
|
|||
[ "$(( i+1 <= 16 ? (i+1) % 8 : ( (i+1)-16) % 6 ))" = 0 ] && printf '\e[0m\n'
|
||||
[ "$(( i+1 <= 16 ? (i+1) % 16 : ( (i+1)-16) % 36 ))" = 0 ] && printf '\e[0m\n'
|
||||
done
|
||||
return 0
|
||||
}
|
||||
|
||||
[ -n "${preload+-}" ] || morecolors "$@"
|
||||
|
|
Loading…
Reference in a new issue