From 03d978ca956a67c1d650c26e33aab019fd1c1f4d Mon Sep 17 00:00:00 2001 From: Gaetan Semet Date: Thu, 26 May 2016 15:25:55 +0200 Subject: [PATCH] rework rs* alias in repo Signed-off-by: Gaetan Semet --- custom/plugins/intel-repo/intel-repo.plugin.zsh | 14 ++++++++++---- 1 file changed, 10 insertions(+), 4 deletions(-) diff --git a/custom/plugins/intel-repo/intel-repo.plugin.zsh b/custom/plugins/intel-repo/intel-repo.plugin.zsh index c35a789c5..758cca190 100644 --- a/custom/plugins/intel-repo/intel-repo.plugin.zsh +++ b/custom/plugins/intel-repo/intel-repo.plugin.zsh @@ -1,13 +1,19 @@ -alias rs='repo sync -a' +alias rs='repo sync' compdef _repo rs='repo sync' -alias rs.='repo sync -a .' +alias rsa='repo sync -a' + +alias rs.='repo sync .' compdef _repo rs.='repo sync' -alias rsrra='repo sync -a ; repo rebase --auto-stash' +alias rsa.='repo sync -a .' + +alias rsrra='repo sync ; repo rebase --auto-stash' +alias rsarra='repo sync -a ; repo rebase --auto-stash' compdef _repo rsrra='repo rebase' -alias rsrra.='repo sync -a .; repo rebase --auto-stash .' +alias rsrra.='repo sync .; repo rebase --auto-stash .' +alias rsarra.='repo sync -a . ; repo rebase --auto-stash .' compdef _repo rsrra.='repo rebase' function rsbrsrra()