Fix a comment.

This commit is contained in:
Sebastian Gniazdowski 2020-11-06 21:55:07 +01:00
parent e7b16c39f8
commit 3bf975a45a

View file

@ -1841,7 +1841,7 @@ builtin setopt noaliases
# FUNCTION: .zinit-formatter-url. [[[
.zinit-formatter-url() {
builtin emulate -LR zsh -o extendedglob
# 1:proto 3:domain/5:start 6:end-of-it 7:no-dot-domain 9:file-path
# 1:proto 3:domain/5:start 6:end-of-it 7:no-dot-domain 9:file-path
if [[ $1 = (#b)([^:]#)(://|::)((([[:alnum:]._+-]##).([[:alnum:]_+-]##))|([[:alnum:].+_-]##))(|/(*)) ]] {
# The advanced coloring if recognized the format…
match[9]=${match[9]//\//"%F{227}%B"/"%F{81}%b"}