aboutsummaryrefslogtreecommitdiff
path: root/bash/bashrc.d/gpg.bash
diff options
context:
space:
mode:
Diffstat (limited to 'bash/bashrc.d/gpg.bash')
-rw-r--r--bash/bashrc.d/gpg.bash5
1 files changed, 1 insertions, 4 deletions
diff --git a/bash/bashrc.d/gpg.bash b/bash/bashrc.d/gpg.bash
index 3f01db64..cea4a7cb 100644
--- a/bash/bashrc.d/gpg.bash
+++ b/bash/bashrc.d/gpg.bash
@@ -15,9 +15,6 @@ gpg() {
# Completion for gpg with long options
_gpg() {
- # Complete with directories/files if no matches
- compopt -o default
-
# Bail if no gpg(1)
hash gpg 2>/dev/null || return 1
@@ -31,5 +28,5 @@ _gpg() {
COMPREPLY=("${COMPREPLY[@]}" "$option")
done < <(gpg --dump-options 2>/dev/null)
}
-complete -F _gpg gpg
+complete -F _gpg -o default gpg