mirror of
https://github.com/zdharma-continuum/zinit.git
synced 2026-09-10 07:36:38 -04:00
Fix a comment.
This commit is contained in:
parent
e7b16c39f8
commit
3bf975a45a
|
|
@ -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"}
|
||||
|
|
|
|||
Loading…
Reference in a new issue