1 2 3 4 5 6 7 8 9 10 11 12 13 14 15 16
[Trigger] Operation = Install Operation = Upgrade Type = Package Target = mpv Target = mpv-* [Action] Description = mpv-bash-completion: updating the completion function When = PostTransaction Exec = /bin/bash -c '/usr/lib/mpv-bash-completion/generate >/etc/bash_completion.d/mpv' Depends = bash # vim: filetype=dosini