summaryrefslogtreecommitdiffstats
path: root/wscript
diff options
context:
space:
mode:
authorPhilip Langdale <philipl@overt.org>2020-01-08 19:09:14 -0800
committerPhilip Langdale <github.philipl@overt.org>2020-01-09 12:07:05 -0800
commit8b85b40b2fd77128da2503e90ed358605e3e2656 (patch)
tree09077373954176083e8524ff2f13a75d0defa44c /wscript
parent28609cc4980d7a3949d2cf964048cb20f3ab8d85 (diff)
downloadmpv-8b85b40b2fd77128da2503e90ed358605e3e2656.tar.bz2
mpv-8b85b40b2fd77128da2503e90ed358605e3e2656.tar.xz
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.
Diffstat (limited to 'wscript')
-rw-r--r--wscript1
1 files changed, 1 insertions, 0 deletions
diff --git a/wscript b/wscript
index c9724e8d02..d47133e6a6 100644
--- a/wscript
+++ b/wscript
@@ -950,6 +950,7 @@ _INSTALL_DIRS_LIST = [
('confdir', '${SYSCONFDIR}/mpv', 'configuration files'),
('zshdir', '${DATADIR}/zsh/site-functions', 'zsh completion functions'),
('confloaddir', '${CONFDIR}', 'configuration files load directory'),
+ ('bashdir', '${DATADIR}/bash-completion/completions', 'bash completion functions'),
]
def options(opt):