aboutsummaryrefslogtreecommitdiff
path: root/bash/bash_completion.d/gpg.bash
diff options
context:
space:
mode:
authorTom Ryder <tom@sanctum.geek.nz>2018-12-01 02:32:30 +1300
committerTom Ryder <tom@sanctum.geek.nz>2018-12-01 02:32:30 +1300
commitc3af0c31efbc23472a103536280a4d839555e198 (patch)
tree4a60248435bb69dde9f3e4314d56fab67f36e36d /bash/bash_completion.d/gpg.bash
parentAdjust loop short circuits and pattern matches (diff)
downloaddotfiles-c3af0c31efbc23472a103536280a4d839555e198.tar.gz
dotfiles-c3af0c31efbc23472a103536280a4d839555e198.zip
Remove redundant error code in short circuits
Diffstat (limited to 'bash/bash_completion.d/gpg.bash')
-rw-r--r--bash/bash_completion.d/gpg.bash2
1 files changed, 1 insertions, 1 deletions
diff --git a/bash/bash_completion.d/gpg.bash b/bash/bash_completion.d/gpg.bash
index 0f6785f9..697e4a65 100644
--- a/bash/bash_completion.d/gpg.bash
+++ b/bash/bash_completion.d/gpg.bash
@@ -2,7 +2,7 @@
_gpg() {
# Bail if no gpg(1)
- hash gpg 2>/dev/null || return 1
+ hash gpg 2>/dev/null || return
# Bail if not completing an option
case ${COMP_WORDS[COMP_CWORD]} in