diff options
author | Tom Ryder <tom@sanctum.geek.nz> | 2013-10-23 10:00:13 +1300 |
---|---|---|
committer | Tom Ryder <tom@sanctum.geek.nz> | 2013-10-23 10:00:13 +1300 |
commit | b153957dc74f4d79ea337b245f6582294a014a4c (patch) | |
tree | 54d3c5a3c1eaeb12a0ab38375dfc0f62abbbc561 /bash | |
parent | Remove st(1) from dotfiles (diff) | |
download | dotfiles-b153957dc74f4d79ea337b245f6582294a014a4c.tar.gz dotfiles-b153957dc74f4d79ea337b245f6582294a014a4c.zip |
Remove double-up test
Diffstat (limited to 'bash')
-rw-r--r-- | bash/bashrc.d/gnupg.bash | 4 |
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 |