Use the user's configured directories and remotes via dim. Signed-off-by: Jani Nikula <jani.nikula@xxxxxxxxx> --- bash_completion | 9 ++------- 1 file changed, 2 insertions(+), 7 deletions(-) diff --git a/bash_completion b/bash_completion index 6a3a88cc80f8..f89764e3947d 100644 --- a/bash_completion +++ b/bash_completion @@ -27,13 +27,8 @@ _dim () # args = number of arguments _count_args - if [ -f ~/linux/drm-intel-rerere/nightly.conf ] ; then - local nightly_branches=`(source ~/linux/drm-intel-rerere/nightly.conf ; echo $nightly_branches) | \ - xargs -n 1 echo | grep '^origin' | sed -e 's/^origin\///'` - else - local nightly_branches="" - fi - local upstream_branches="origin/master airlied/drm-next airlied/drm-fixes" + local nightly_branches="$(dim list-branches)" + local upstream_branches="$(dim list-upstreams)" cmds="setup nightly-forget update-branches" cmds="$cmds rebuild-nightly cat-to-fixup" -- 2.1.4 _______________________________________________ Intel-gfx mailing list Intel-gfx@xxxxxxxxxxxxxxxxxxxxx https://lists.freedesktop.org/mailman/listinfo/intel-gfx