]> git.phdru.name Git - dotfiles.git/commitdiff
Fix bash completion for OpenVPN
authorOleg Broytman <phd@phdru.name>
Wed, 12 Aug 2020 07:18:59 +0000 (10:18 +0300)
committerOleg Broytman <phd@phdru.name>
Wed, 12 Aug 2020 07:18:59 +0000 (10:18 +0300)
.bash_completion.d/openvpn [new file with mode: 0644]

diff --git a/.bash_completion.d/openvpn b/.bash_completion.d/openvpn
new file mode 100644 (file)
index 0000000..02d604d
--- /dev/null
@@ -0,0 +1,5 @@
+# Fix a problem in completion; see https://unix.stackexchange.com/a/529201
+
+if [ -r /usr/share/bash-completion/completions/openvpn ]; then
+   . /usr/share/bash-completion/completions/openvpn
+fi