aboutsummaryrefslogtreecommitdiff
path: root/bash
diff options
context:
space:
mode:
authorTom Ryder <tom@sanctum.geek.nz>2018-12-07 01:09:20 +1300
committerTom Ryder <tom@sanctum.geek.nz>2018-12-07 01:09:34 +1300
commite484215413aafea8b281e310efeefa41609b7505 (patch)
treeb4b11b7fdb58dbc13934b94769be4d0cdda141e4 /bash
parentDisable shellcheck rules for missed definition (diff)
downloaddotfiles-e484215413aafea8b281e310efeefa41609b7505.tar.gz
dotfiles-e484215413aafea8b281e310efeefa41609b7505.zip
Correct a variable ref in openssl(1ssl) completion
Diffstat (limited to 'bash')
-rw-r--r--bash/bash_completion.d/openssl.bash2
1 files changed, 1 insertions, 1 deletions
diff --git a/bash/bash_completion.d/openssl.bash b/bash/bash_completion.d/openssl.bash
index b1f13103..95016dae 100644
--- a/bash/bash_completion.d/openssl.bash
+++ b/bash/bash_completion.d/openssl.bash
@@ -13,7 +13,7 @@ _openssl() {
while read -a subcmds -r ; do
for subcmd in "${subcmds[@]}" ; do
case $subcmd in
- "$2"*) COMPREPLY[ci++]=$comp ;;
+ "$2"*) COMPREPLY[ci++]=$subcmd ;;
esac
done
done < <(