Skip to content

Autocomplete fails while using zsh. #534

@evshary

Description

@evshary

Bug report

Required Info:

  • Operating System:
    • Ubuntu 18.04
  • Installation type:
    • binaries
  • Version or commit hash:
    • Dashing / Eloquent
  • DDS implementation:
    • ALL
  • Client library (if applicable):
    • N/A

Steps to reproduce issue

I use zsh as my shell, but I find some problems while using <tab> to autocomplete.

  • While I type ros2 run <tab>, it works well.
  • However when I type ros2 run d<tab>, it can't show the packages which starts with 'd'.

Additional information

After some debugging, I find that the behavior is related to argcomplete library in Python 3.
If I remove the library rm -rf ~/.local/lib/python3.6/site-packages/argcomplete*, zsh works well again.
I'm not pretty sure what the root cause is.
Maybe argcomplete library does not support zsh well.

Metadata

Metadata

Assignees

Labels

bugSomething isn't workingduplicateThis issue or pull request already exists

Type

No type

Projects

No projects

Milestone

No milestone

Relationships

None yet

Development

No branches or pull requests

Issue actions