completion for %show_joins