mirror of
https://github.com/mpv-player/mpv
synced 2024-11-14 22:48:35 +01:00
6f23aa0d3e
If bash_completion wasn't installed, _filedir wouldn't be defined which led to all filename-based completions to error out. Specifically autocompletion would fail when a filename was expected and when bash_completion wasn't installed. Now we fall back to `compgen -f` if _filedir fails. According to _filedir's comments, compgen doesn't handle files with spaces well, but it is still better to complete most files than none. |
||
---|---|---|
.. | ||
_mpv.zsh | ||
builtin.conf | ||
encoding-profiles.conf | ||
input.conf | ||
mplayer-input.conf | ||
mpv-gradient.svg | ||
mpv-icon-8bit-16x16.png | ||
mpv-icon-8bit-32x32.png | ||
mpv-icon-8bit-64x64.png | ||
mpv-icon-8bit-128x128.png | ||
mpv-icon.ico | ||
mpv-symbolic.svg | ||
mpv.bash-completion | ||
mpv.conf | ||
mpv.desktop | ||
mpv.svg | ||
restore-old-bindings.conf |