ROS communications-related packages, including core client libraries (roscpp, rospy, roslisp) and graph introspection tools (rostopic, rosnode, rosservice, rosparam).
752
stars
911
forks
source link
Problems with autocompleting `rosbag play` in zsh #2240
Open
mnissov opened 2 years ago
Tab-autocomplete in zsh is not working as expected with rosbag. Note, I'll start lines run in zsh with
❯
and lines run in bash with$
Demo
Create a workspace and create folders for two packages,
pkg1
andpkg2
. One will be symlinked and the other will be placed in thesrc/
folders.Behavior
Expected behavior from bash
Pressing tab shows both options, i.e. autocomplete working as expected. Doing the equivalent operation in zsh results in
autocompleting to
pkg2
, as ifpkg1
didn't exist. Adding a third packagemkdir ~/catkin_ws/src/pkg3
shows thatpkg1
is entirely ignoredTab autocompleting in zsh works when using other commands, e.g.
ls
Misc
System running PopOs 20.04 LTS and ros noetic.
Included in the
~/.zshrc
is the following line