1
0
mirror of https://github.com/ohmyzsh/ohmyzsh.git synced 2025-12-12 15:34:50 +08:00

Compare commits

..

6 Commits

Author SHA1 Message Date
Arvin Verain
21e282ca4a
docs(git): Unlist long-removed aliases
There are some aliases, whose functionality has long been reassigned to
different aliases, but have not been reused for new commands, yet are
still documented in the README. Remove them.
2025-12-12 09:40:22 +08:00
Arvin Verain
8c76d29214
docs(git): Clean up alias and function tables 2025-12-12 09:40:22 +08:00
Arvin Verain
3f21704a34
refactor(git)!: Start deprecating current_branch function 2025-12-12 09:40:22 +08:00
Arvin Verain
d0e14637c2
refactor(git)!: Start deprecating ggpull/ggpur/ggpush for their alternative functions 2025-12-12 09:40:21 +08:00
Arvin Verain
f28c23a31c
refactor(git)!: Remove deprecated git pull --rebase aliases 2025-12-12 09:40:21 +08:00
tDwtp
f84341c574
fix(git): git_status_prompt should respect spaces in prefixes (#13478) 2025-12-11 15:05:23 +01:00

View File

@ -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"