mpv by default installs its zsh completer to site-functions, so just remove the --zshdir flag. With this change mpv tab completes with no fpath changes.
diff --git Makefile Makefile index 9e483bde787..0e4eb3371e7 100644 --- Makefile +++ Makefile @@ -5,6 +5,7 @@ COMMENT = movie player based on MPlayer/mplayer2 GH_ACCOUNT = mpv-player GH_PROJECT = mpv GH_TAGNAME = v0.31.0 +REVISION = 0 SHARED_LIBS += mpv 0.1 # 1.106 @@ -60,7 +61,6 @@ CONFIGURE_ARGS = --confloaddir=${SYSCONFDIR}/mpv \ --confdir=${LOCALBASE}/share/examples/mpv \ --mandir=${LOCALBASE}/man \ --docdir=${LOCALBASE}/share/examples/mpv \ - --zshdir=${LOCALBASE}/share/zsh/vendor-completions \ --enable-cdda \ --enable-dvdnav \ --enable-libmpv-shared \ diff --git pkg/PLIST pkg/PLIST index 9999589241e..cad3f1ef19b 100644 --- pkg/PLIST +++ pkg/PLIST @@ -27,5 +27,5 @@ share/icons/hicolor/symbolic/apps/mpv-symbolic.svg @tag gtk-update-icon-cache %D/share/icons/hicolor @tag update-desktop-database share/zsh/ -share/zsh/vendor-completions/ -share/zsh/vendor-completions/_mpv +share/zsh/site-functions/ +share/zsh/site-functions/_mpv