google/python-fire

completion option for zsh

Open

#64 opened on Apr 14, 2017

View on GitHub
 (9 comments) (8 reactions) (0 assignees)Python (26,214 stars) (1,418 forks)batch import
enhancementhelp wanted

Description

I'm using zsh 5.0.8 on OSX 10.11.6.

When I tried to run the generated completion bash for the basic example in README, I got the following error.

_complete-calculatorpy:4: unrecognized modifier C'`

I finally resolved this issue by replacing the : in the bash script with : .

An extra option for completion command will be helpful for zsh user.

Contributor guide