Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

No bash completion with pip install #16526

Open
Troyciv opened this issue May 22, 2018 · 3 comments
Open

No bash completion with pip install #16526

Troyciv opened this issue May 22, 2018 · 3 comments

Comments

@Troyciv
Copy link

@Troyciv Troyciv commented May 22, 2018

  • I've verified and I assure that I'm running youtube-dl 2018.05.18

Before submitting an issue make sure you have:

  • At least skimmed through the README, most notably the FAQ and BUGS sections
  • Searched the bugtracker for similar issues including closed ones
  • Checked that provided video/audio/playlist URLs (if any) are alive and playable in a browser

What is the purpose of your issue?

  • Bug report (encountered problems with youtube-dl)
  • Site support request (request for adding support for a new site)
  • Feature request (request for a new functionality)
  • Question
  • Other

Description of your issue, suggested solution and other information

I was told here to use pip as an installation tool in order to get man pages and shell completion along with my youtube-dl installation. While the man page has been successfully added the bash shell completion has not. Even after a restart.

I tried sudo -H pip install --upgrade youtube-dl as well as pip install --user --upgrade youtube-dl


[debug] System config: []          
[debug] User config: []            
[debug] Custom config: []          
[debug] Command-line args: ['--verbose']                               
[debug] Encodings: locale UTF-8, fs utf-8, out UTF-8, pref UTF-8       
[debug] youtube-dl version 2018.05.18                                  
[debug] Python version 3.6.3 (CPython) - Linux-4.13.0-41-generic-x86_64-with-Ubuntu-17.10-artful
[debug] exe versions: ffmpeg 3.3.4-2, ffprobe 3.3.4-2, phantomjs 2.1.1, rtmpdump 2.4
[debug] Proxy map: {}              
@sampablokuper
Copy link

@sampablokuper sampablokuper commented Feb 7, 2019

No longer an issue in youtube-dl 2019.02.08, AFAICT. IMO, this bug report can be closed.

@simon04
Copy link

@simon04 simon04 commented Apr 7, 2019

I assume it's due to the wrong path and wrong filename in

('etc/bash_completion.d', ['youtube-dl.bash-completion']),
where it should be /usr/share/bash-completion/completions/youtube-dl

@sorbits
Copy link

@sorbits sorbits commented Sep 10, 2019

I assume it's due to the wrong path and wrong filename in

I submitted PR #22355 to update install location. With that change, running pip install --user youtube-dl will install bash completion as ~/.local/share/bash-completion/completions/youtube-dl.

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Projects
None yet
Linked pull requests

Successfully merging a pull request may close this issue.

None yet
4 participants
You can’t perform that action at this time.