mirror of
https://github.com/ohmyzsh/ohmyzsh.git
synced 2025-12-12 15:34:50 +08:00
Compare commits
6 Commits
23648ca17b
...
21e282ca4a
| Author | SHA1 | Date | |
|---|---|---|---|
|
|
21e282ca4a | ||
|
|
8c76d29214 | ||
|
|
3f21704a34 | ||
|
|
d0e14637c2 | ||
|
|
f28c23a31c | ||
|
|
f84341c574 |
@ -117,7 +117,7 @@ function _omz_git_prompt_status() {
|
||||
fi
|
||||
|
||||
# For each status prefix, do a regex comparison
|
||||
for status_prefix in ${(k)prefix_constant_map}; do
|
||||
for status_prefix in "${(@k)prefix_constant_map}"; do
|
||||
local status_constant="${prefix_constant_map[$status_prefix]}"
|
||||
local status_regex=$'(^|\n)'"$status_prefix"
|
||||
|
||||
|
||||
Loading…
Reference in New Issue
Block a user