remotes shortcut

Signed-off-by: Jeff Carr <jcarr@wit.com>
This commit is contained in:
Jeff Carr 2019-01-20 07:16:42 -08:00
parent 9a025ab22b
commit cc5e05e5b7
2 changed files with 4 additions and 1 deletions

View File

@ -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

View File

@ -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