chrippa / livestreamer-completion

Shell completion support for Livestreamer.
MIT License
11 stars 2 forks source link

_init_completion: command not found #1

Open PHLAK opened 10 years ago

PHLAK commented 10 years ago

System: Ubuntu 12.04.4 64-bit

I copied livestreamer.bash to /etc/bash_completion.d/livestreamer then ran

$ ~/twitch_channels.py -f lllPHLAKlll > ~/.config/livestreamer/favorties.twitch

From command line I then do:

$ livestreamer <tab>

And I get the following error message:

_init_completion: command not found
chrippa commented 10 years ago

It looks like you may be using a old version of bash completion that lacks _init_completion. Try removing that line from the completion script or upgrade to a newer version.