aboutsummaryrefslogtreecommitdiff
path: root/bash
diff options
context:
space:
mode:
authorTom Ryder <tom@sanctum.geek.nz>2013-10-23 10:00:13 +1300
committerTom Ryder <tom@sanctum.geek.nz>2013-10-23 10:00:13 +1300
commitb153957dc74f4d79ea337b245f6582294a014a4c (patch)
tree54d3c5a3c1eaeb12a0ab38375dfc0f62abbbc561 /bash
parentRemove st(1) from dotfiles (diff)
downloaddotfiles-b153957dc74f4d79ea337b245f6582294a014a4c.tar.gz
dotfiles-b153957dc74f4d79ea337b245f6582294a014a4c.zip
Remove double-up test
Diffstat (limited to 'bash')
-rw-r--r--bash/bashrc.d/gnupg.bash4
1 files changed, 2 insertions, 2 deletions
diff --git a/bash/bashrc.d/gnupg.bash b/bash/bashrc.d/gnupg.bash
index 3b6f1bde..98e3ca27 100644
--- a/bash/bashrc.d/gnupg.bash
+++ b/bash/bashrc.d/gnupg.bash
@@ -7,8 +7,8 @@ fi
_gpg() {
local word=${COMP_WORDS[COMP_CWORD]}
- # Bail if no gpg(1) or the word doesn't start with two dashes
- if ! hash gpg 2>/dev/null || [[ $word != --* ]]; then
+ # Bail if word doesn't start with two dashes
+ if [[ $word != --* ]]; then
COMPREPLY=()
return 1
fi