| Index: bash_completion
|
| diff --git a/bash_completion b/bash_completion
|
| index 6a3077c64a61e92ce26846074416d908fcd44faa..bc9988aaceaa1ee45bac46ea9294f6114f2cd91e 100644
|
| --- a/bash_completion
|
| +++ b/bash_completion
|
| @@ -200,10 +200,9 @@ _list_repo_branches() {
|
|
|
| _list_repo_projects() {
|
| local repo=${COMP_WORDS[0]}
|
| - local manifest=$(mktemp)
|
| - "$repo" manifest -o "$manifest" >& /dev/null
|
| - grep 'project name=' "$manifest" | sed 's/.\+name="\([^"]\+\)".\+/\1/'
|
| - rm -f "$manifest" >& /dev/null
|
| + "$repo" manifest -o /dev/stdout 2> /dev/null \
|
| + | grep 'project name=' \
|
| + | sed 's/.\+name="\([^"]\+\)".\+/\1/'
|
| }
|
|
|
| # Complete repo's <command> argument.
|
|
|