Helper for bash completion. Where to get the information depends on user's dim configuration. Signed-off-by: Jani Nikula <jani.nikula@xxxxxxxxx> --- dim | 6 ++++++ 1 file changed, 6 insertions(+) diff --git a/dim b/dim index c004bc75ca06..33ef8288a291 100755 --- a/dim +++ b/dim @@ -972,6 +972,12 @@ function dim_pull_request_next_fixes dim_pull_request drm-intel-next-fixes $upstream } +# Note: used by bash completion +function dim_list_branches +{ + echo $dim_branches | sed 's/ /\n/g' +} + dim_alias_ub=update-branches function dim_update_branches { -- 2.1.4 _______________________________________________ Intel-gfx mailing list Intel-gfx@xxxxxxxxxxxxxxxxxxxxx https://lists.freedesktop.org/mailman/listinfo/intel-gfx