summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorMarc Cornellà <hello@mcornella.com>2021-09-06 13:25:35 +0200
committerMarc Cornellà <hello@mcornella.com>2021-09-06 13:31:13 +0200
commit5a4159cd29ab9dfa31e7747dd676f3cf0e19bf81 (patch)
tree09d5ce2a57e4309e1899e9611b15f8e704c17b2f
parent7336ebcd8f095b0ead7e1e39bdc2fff57275acfd (diff)
downloadzsh-5a4159cd29ab9dfa31e7747dd676f3cf0e19bf81.tar.gz
zsh-5a4159cd29ab9dfa31e7747dd676f3cf0e19bf81.tar.bz2
zsh-5a4159cd29ab9dfa31e7747dd676f3cf0e19bf81.zip
fix(git)!: rename `git mergetool` aliases to `gmtl*` (#9154)
BREAKING CHANGE: the `gmt` alias conflicts with the Generic Mapping Tools command. For that, the `gmt` alias has been renamed to `gmtl`, and `gmtvim` has been renamed to `gmtlvim` for consistency. Fixes #9154
-rw-r--r--plugins/git/README.md4
-rw-r--r--plugins/git/git.plugin.zsh4
2 files changed, 4 insertions, 4 deletions
diff --git a/plugins/git/README.md b/plugins/git/README.md
index 13571c821..64c507345 100644
--- a/plugins/git/README.md
+++ b/plugins/git/README.md
@@ -108,8 +108,8 @@ plugins=(... git)
| glp | git log --pretty=\<format\> |
| gm | git merge |
| gmom | git merge origin/$(git_main_branch) |
-| gmt | git mergetool --no-prompt |
-| gmtvim | git mergetool --no-prompt --tool=vimdiff |
+| gmtl | git mergetool --no-prompt |
+| gmtlvim | git mergetool --no-prompt --tool=vimdiff |
| gmum | git merge upstream/$(git_main_branch) |
| gma | git merge --abort |
| gp | git push |
diff --git a/plugins/git/git.plugin.zsh b/plugins/git/git.plugin.zsh
index 03769ed0f..d030d2801 100644
--- a/plugins/git/git.plugin.zsh
+++ b/plugins/git/git.plugin.zsh
@@ -221,8 +221,8 @@ alias glp="_git_log_prettily"
alias gm='git merge'
alias gmom='git merge origin/$(git_main_branch)'
-alias gmt='git mergetool --no-prompt'
-alias gmtvim='git mergetool --no-prompt --tool=vimdiff'
+alias gmtl='git mergetool --no-prompt'
+alias gmtlvim='git mergetool --no-prompt --tool=vimdiff'
alias gmum='git merge upstream/$(git_main_branch)'
alias gma='git merge --abort'