diff options
author | romkatv <roman.perepelitsa@gmail.com> | 2019-06-06 18:13:05 +0300 |
---|---|---|
committer | romkatv <roman.perepelitsa@gmail.com> | 2019-06-06 18:13:05 +0300 |
commit | 5a30f6a399e86a2922032f1466038ccbd884817e (patch) | |
tree | 0ddd4fbbf387c79244d3505341be66dc202261a4 /internal/p10k.zsh | |
parent | a2bc4f0b948f0fa56c7918ff39f771c32e103e3f (diff) |
stop padding colors with leading zeros; it makes no difference
Diffstat (limited to 'internal/p10k.zsh')
-rwxr-xr-x | internal/p10k.zsh | 2 |
1 files changed, 1 insertions, 1 deletions
diff --git a/internal/p10k.zsh b/internal/p10k.zsh index 7ac2407b..5455723e 100755 --- a/internal/p10k.zsh +++ b/internal/p10k.zsh @@ -87,7 +87,7 @@ typeset -ga _P9K_RIGHT_JOIN=(1) _p9k_translate_color() { if [[ $1 == <-> ]]; then # decimal color code: 255 - _P9K_RETVAL=${(l:3::0:)1} + _P9K_RETVAL=$1 elif [[ $1 == '#'* ]]; then # hexademical color code: #ffffff _P9K_RETVAL=$1 else # named color: red |