diff options
author | sfan5 <sfan5@live.de> | 2023-07-18 10:51:51 +0200 |
---|---|---|
committer | sfan5 <sfan5@live.de> | 2023-07-19 13:01:08 +0200 |
commit | 15252e13d5bb367a8f86ffbc5474488b841dc96c (patch) | |
tree | 1329b107d8191fbe3747125028f126b38f61c870 /etc/mpv.bash-completion | |
parent | 5f664e2a1d8c53375818f959e972291a539c77a1 (diff) | |
download | mpv-15252e13d5bb367a8f86ffbc5474488b841dc96c.tar.bz2 mpv-15252e13d5bb367a8f86ffbc5474488b841dc96c.tar.xz |
{zsh,bash}-completion: run mpv with --no-config
Reading the config when we're just interested in the option list
(not sure why mpv does that anyway) only has the potential to mess
this process up when it prints errors or the user has funny options
like msg-level or log-file set, so avoid doing so.
Diffstat (limited to 'etc/mpv.bash-completion')
-rw-r--r-- | etc/mpv.bash-completion | 2 |
1 files changed, 1 insertions, 1 deletions
diff --git a/etc/mpv.bash-completion b/etc/mpv.bash-completion index c08010ae7c..286e776bb0 100644 --- a/etc/mpv.bash-completion +++ b/etc/mpv.bash-completion @@ -18,7 +18,7 @@ # # Cache all the mpv options -_mpv_options=$(mpv --list-options) +_mpv_options=$(mpv --no-config --list-options) _mpv_get_args() { |