mirror of
https://github.com/mpv-player/mpv
synced 2025-01-05 22:49:58 +00:00
ea89e813f7
When trying to use completion for mpv binaries specified with some shell glob, e.g. ~/dev/mpv/build/mpv, the current code doesn't substitute the homedir prefix into the path name, resulting in runtime errors about the file '~/dev/mpv/build/mpv' not being found. The simple fixed is to use $~var instead of $var whenever expanding the filename, which performs the same globbing that would otherwise be performed when executing the command. |
||
---|---|---|
.. | ||
_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 |