Bug 1349216 - bash completion broken for mpv; "mpv" must be added into file contents
Summary: bash completion broken for mpv; "mpv" must be added into file contents
Keywords:
Status: CLOSED ERRATA
Alias: None
Product: Fedora
Classification: Fedora
Component: bash-completion
Version: 24
Hardware: All
OS: Linux
unspecified
medium
Target Milestone: ---
Assignee: Ville Skyttä
QA Contact: Fedora Extras Quality Assurance
URL:
Whiteboard:
: 1359405 (view as bug list)
Depends On:
Blocks:
TreeView+ depends on / blocked
 
Reported: 2016-06-23 00:42 UTC by Andrew Engelbrecht
Modified: 2016-08-15 21:20 UTC (History)
3 users (show)

Fixed In Version: bash-completion-2.4-1.fc24
Doc Type: If docs needed, set a value
Doc Text:
Clone Of:
Environment:
Last Closed: 2016-08-15 21:20:28 UTC
Type: Bug
Embargoed:


Attachments (Terms of Use)
patch for mpv bash completion (311 bytes, patch)
2016-06-23 00:42 UTC, Andrew Engelbrecht
no flags Details | Diff

Description Andrew Engelbrecht 2016-06-23 00:42:05 UTC
Created attachment 1171150 [details]
patch for mpv bash completion

Description of problem:

If I use tab completion with the "mpv" video player, files and directories do not get expanded.

Version-Release number of selected component (if applicable):

2.3-1.fc24

How reproducible:

always

Steps to Reproduce:
1. type: "mpv ~/Downlo"
2. press tab a few times

Actual results:

the directory name is not completed and files in this directory are not listed

Expected results:

directory name to be expanded and files to be listed

Additional info:

to fix this issue, the following line must be changed:

--- mplayer.orig        2016-06-22 20:40:47.367392637 -0400
+++ mplayer     2016-06-22 20:33:20.874390122 -0400
@@ -286,6 +286,6 @@
 
     return 0
 } &&
-complete -F _mplayer mplayer mplayer2 mencoder gmplayer kplayer
+complete -F _mplayer mplayer mplayer2 mencoder gmplayer kplayer mpv
 
 # ex: ts=4 sw=4 et filetype=sh

Comment 1 Ville Skyttä 2016-06-23 08:53:24 UTC
Already fixed (differently) upstream: https://github.com/scop/bash-completion/pull/24

Comment 2 Ville Skyttä 2016-07-24 06:43:40 UTC
*** Bug 1359405 has been marked as a duplicate of this bug. ***

Comment 3 Fedora Update System 2016-08-12 20:33:18 UTC
bash-completion-2.4-1.fc24 has been submitted as an update to Fedora 24. https://bodhi.fedoraproject.org/updates/FEDORA-2016-6020196148

Comment 4 Fedora Update System 2016-08-14 00:22:10 UTC
bash-completion-2.4-1.fc24 has been pushed to the Fedora 24 testing repository. If problems still persist, please make note of it in this bug report.
See https://fedoraproject.org/wiki/QA:Updates_Testing for
instructions on how to install test updates.
You can provide feedback for this update here: https://bodhi.fedoraproject.org/updates/FEDORA-2016-6020196148

Comment 5 Fedora Update System 2016-08-15 21:20:26 UTC
bash-completion-2.4-1.fc24 has been pushed to the Fedora 24 stable repository. If problems still persist, please make note of it in this bug report.


Note You need to log in before you can comment on or make changes to this bug.