aboutsummaryrefslogtreecommitdiff
path: root/bash
diff options
context:
space:
mode:
authorTom Ryder <tom@sanctum.geek.nz>2018-12-01 02:54:03 +1300
committerTom Ryder <tom@sanctum.geek.nz>2018-12-01 02:54:03 +1300
commit80153a4c39f96628de81f7f4aa385454c721330d (patch)
tree46fe601da43e7721712ebcce542c230df85173db /bash
parentd2506de8d8c3370b98c9662a4024ad3d9eb3b29a (diff)
downloaddotfiles-80153a4c39f96628de81f7f4aa385454c721330d.tar.gz
dotfiles-80153a4c39f96628de81f7f4aa385454c721330d.zip
Fix backwards test for gpg(1) completion
Diffstat (limited to 'bash')
-rw-r--r--bash/bash_completion.d/gpg.bash3
1 files changed, 2 insertions, 1 deletions
diff --git a/bash/bash_completion.d/gpg.bash b/bash/bash_completion.d/gpg.bash
index 697e4a65..a47b23d7 100644
--- a/bash/bash_completion.d/gpg.bash
+++ b/bash/bash_completion.d/gpg.bash
@@ -6,7 +6,8 @@ _gpg() {
# Bail if not completing an option
case ${COMP_WORDS[COMP_CWORD]} in
- --*) return 1 ;;
+ --*) ;;
+ *) return 1 ;;
esac
# Generate completion reply from gpg(1) options