1
0
mirror of https://github.com/ohmyzsh/ohmyzsh.git synced 2026-01-24 01:37:27 +08:00

Compare commits

..

1 Commits

Author SHA1 Message Date
Miguel Hargreaves Pimenta
5d00a63c58
Merge 2bfaf3ccf2 into 92aed2e936 2025-12-10 14:09:14 +04:00

View File

@ -117,7 +117,7 @@ function _omz_git_prompt_status() {
fi fi
# For each status prefix, do a regex comparison # 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_constant="${prefix_constant_map[$status_prefix]}"
local status_regex=$'(^|\n)'"$status_prefix" local status_regex=$'(^|\n)'"$status_prefix"