summaryrefslogtreecommitdiffstats
path: root/video/d3d.h
diff options
context:
space:
mode:
authorNiklas Haas <git@haasn.dev>2021-05-07 22:18:23 +0200
committerNiklas Haas <git@haasn.dev>2021-05-07 22:18:23 +0200
commitea89e813f730aaf4e97ea6c2b22c6a405d34955c (patch)
tree35a3f93b0c37fc00774b29f8074c49968f9a2c1a /video/d3d.h
parentc3ebe7eabdbd41d496169bdcd98efff9d3f0bf87 (diff)
downloadmpv-ea89e813f730aaf4e97ea6c2b22c6a405d34955c.tar.bz2
mpv-ea89e813f730aaf4e97ea6c2b22c6a405d34955c.tar.xz
zsh completion: perform globbing on binary path
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.
Diffstat (limited to 'video/d3d.h')
0 files changed, 0 insertions, 0 deletions