diff options
author | Fidel Torres <fidel.torres@hazzas.com> | 2020-11-13 05:21:48 +1100 |
---|---|---|
committer | Marc Cornellà <hello@mcornella.com> | 2021-12-28 19:42:12 +0100 |
commit | 89ab38fe648a9c68e8425ed8d97b3dd23ef06402 (patch) | |
tree | 984d2c12486cdbb91fda7e9e5d2b4abfe5ab3ae1 /plugins/git-flow | |
parent | 40e0e72cd746858a9d8ed2ce628ceff5100500f3 (diff) | |
download | zsh-89ab38fe648a9c68e8425ed8d97b3dd23ef06402.tar.gz zsh-89ab38fe648a9c68e8425ed8d97b3dd23ef06402.tar.bz2 zsh-89ab38fe648a9c68e8425ed8d97b3dd23ef06402.zip |
feat(git-flow): add aliases for current `feature` / `release` branch (#9439)
Closes #9439
Diffstat (limited to 'plugins/git-flow')
-rw-r--r-- | plugins/git-flow/git-flow.plugin.zsh | 4 |
1 files changed, 4 insertions, 0 deletions
diff --git a/plugins/git-flow/git-flow.plugin.zsh b/plugins/git-flow/git-flow.plugin.zsh index 8f0714b16..041df3aa5 100644 --- a/plugins/git-flow/git-flow.plugin.zsh +++ b/plugins/git-flow/git-flow.plugin.zsh @@ -39,6 +39,10 @@ alias gflrf='git flow release finish' alias gflhp='git flow hotfix publish' alias gflrp='git flow release publish' alias gflfpll='git flow feature pull' +alias gflffc='git flow feature finish $(echo $(current_branch) | cut -c 9-)' +alias gflfpc='git flow feature publish $(echo $(current_branch) | cut -c 9-)' +alias gflrfc='git flow release finish $(echo $(current_branch) | cut -c 9-)' +alias gflrpc='git flow release publish $(echo $(current_branch) | cut -c 9-)' _git-flow () { |