From 8b85b40b2fd77128da2503e90ed358605e3e2656 Mon Sep 17 00:00:00 2001 From: Philip Langdale Date: Wed, 8 Jan 2020 19:09:14 -0800 Subject: bash completion: add initial implementation of bash completion While we've had a zsh completion script for a while, we haven't had one for bash. This one is reasonably comprehensive, although there are improvements one could imagine for certain options. --- wscript_build.py | 3 +++ 1 file changed, 3 insertions(+) (limited to 'wscript_build.py') diff --git a/wscript_build.py b/wscript_build.py index 3d901df3fb..bbce31dfea 100644 --- a/wscript_build.py +++ b/wscript_build.py @@ -737,6 +737,9 @@ def build(ctx): if ctx.env.ZSHDIR: ctx.install_as(ctx.env.ZSHDIR + '/_mpv', 'etc/_mpv.zsh') + if ctx.env.BASHDIR: + ctx.install_as(ctx.env.BASHDIR + '/mpv', 'etc/mpv.bash-completion') + ctx.install_files( ctx.env.DATADIR + '/applications', ['etc/mpv.desktop'] ) -- cgit v1.2.3