mirror of
https://github.com/ohmyzsh/ohmyzsh.git
synced 2026-02-13 03:01:32 +01:00
new repo aliases: rscb and rscbrra
Signed-off-by: Gaetan Semet <gaetan@xeberon.net>
This commit is contained in:
parent
9864c693b5
commit
74416cf0e3
1 changed files with 8 additions and 0 deletions
|
|
@ -25,3 +25,11 @@ compdef _repo ru='repo upload'
|
|||
|
||||
alias rst='repo status'
|
||||
compdef _repo rst='repo status'
|
||||
|
||||
# Repo start current branch on all projects
|
||||
alias rscb='echo "Starting branch $(git branch | sed -n "/\* /s///p") on all projects" && repo start $(git branch | sed -n "/\* /s///p") --all'
|
||||
compdef _repo rscb='repo start'
|
||||
|
||||
# Repo start and rebase current branch on all projects
|
||||
alias rscbrra='echo "Starting & Rebasing branch $(git branch | sed -n "/\* /s///p") on all projects" && rscb && echo "Rebasing..." && rra'
|
||||
compdef _repo rscbrra='repo rebase'
|
||||
|
|
|
|||
Loading…
Add table
Add a link
Reference in a new issue