Skip to content

Commit

Permalink
added directory completion for config verb, e.g. for --extend
Browse files Browse the repository at this point in the history
  • Loading branch information
rhaschke committed Mar 8, 2016
1 parent f1c254f commit c745311
Showing 1 changed file with 3 additions and 0 deletions.
3 changes: 3 additions & 0 deletions completion/catkin_tools-completion.bash
Original file line number Diff line number Diff line change
Expand Up @@ -89,6 +89,9 @@ _catkin()
else
local catkin_config_opts=$(catkin config --help 2>&1 | sed -ne $OPTS_FILTER | sort -u)
COMPREPLY=($(compgen -W "${catkin_config_opts}" -- ${cur}))
# add directory completion
compopt -o nospace 2>/dev/null
COMPREPLY+=($(compgen -d -S "/" -- ${cur}))
fi
;;
clean)
Expand Down

0 comments on commit c745311

Please sign in to comment.