We read every piece of feedback, and take your input very seriously.
To see all available qualifiers, see our documentation.
There was an error while loading. Please reload this page.
1 parent b8381d9 commit d8cacb3Copy full SHA for d8cacb3
rosidl_cli/colcon.pkg
@@ -0,0 +1,6 @@
1
+{
2
+ "hooks": [
3
+ "share/rosidl_cli/environment/rosidl-argcomplete.bash",
4
+ "share/rosidl_cli/environment/rosidl-argcomplete.zsh"
5
+ ]
6
+}
rosidl_cli/completion/rosidl-argcomplete.zsh
@@ -12,8 +12,10 @@
12
# See the License for the specific language governing permissions and
13
# limitations under the License.
14
15
-autoload -U +X compinit && compinit
16
-autoload -U +X bashcompinit && bashcompinit
+if ! type complete > /dev/null 2>&1; then
+ autoload -U +X compinit && compinit
17
+ autoload -U +X bashcompinit && bashcompinit
18
+fi
19
20
# Get this scripts directory
21
__rosidl_cli_completion_dir=${0:a:h}
0 commit comments