summaryrefslogtreecommitdiffstats
path: root/libmpv/client.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 /libmpv/client.h
parentc3ebe7eabdbd41d496169bdcd98efff9d3f0bf87 (diff)
downloadmpv-master.tar.bz2
mpv-master.tar.xz
zsh completion: perform globbing on binary pathHEADmaster
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 'libmpv/client.h')
0 files changed, 0 insertions, 0 deletions