From cc5e05e5b719137acdee0b973fd0db63cee06d3e Mon Sep 17 00:00:00 2001 From: Jeff Carr Date: Sun, 20 Jan 2019 07:16:42 -0800 Subject: [PATCH] remotes shortcut Signed-off-by: Jeff Carr --- u-boot/uboot | 3 +++ u-boot/uboot-bash-completion | 2 +- 2 files changed, 4 insertions(+), 1 deletion(-) diff --git a/u-boot/uboot b/u-boot/uboot index 6d6fd52..c3383b9 100755 --- a/u-boot/uboot +++ b/u-boot/uboot @@ -50,6 +50,9 @@ case "$1" in echo uboot did not successfully compile fi ;; + remotes) + git remote -v + ;; branches|status) git remote -v git branch -r diff --git a/u-boot/uboot-bash-completion b/u-boot/uboot-bash-completion index 5ce542e..8a92839 100644 --- a/u-boot/uboot-bash-completion +++ b/u-boot/uboot-bash-completion @@ -5,7 +5,7 @@ _uboot() local cur prev words cword _init_completion || return - COMPREPLY=( $( compgen -W "branches deps cross clean build flash" -- "$cur" ) ) + COMPREPLY=( $( compgen -W "remotes branches deps cross clean build flash" -- "$cur" ) ) } && complete -F _uboot uboot