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

Compare commits

..

6 Commits

Author SHA1 Message Date
Arvin Verain
3bb37ccdb6
Merge 23648ca17b into 92aed2e936 2025-12-10 07:35:18 +00:00
Arvin Verain
23648ca17b
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-10 15:35:10 +08:00
Arvin Verain
9af4d9b4ed
docs(git): Clean up alias and function tables 2025-12-10 15:35:10 +08:00
Arvin Verain
6bd04ab375
refactor(git)!: Start deprecating current_branch function 2025-12-10 15:35:10 +08:00
Arvin Verain
630dd5d223
refactor(git)!: Start deprecating ggpull/ggpur/ggpush for their alternative functions 2025-12-10 15:35:09 +08:00
Arvin Verain
a09fb023c4
refactor(git)!: Remove deprecated git pull --rebase aliases 2025-12-10 15:35:08 +08: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"