diff options
author | Tom Ryder <tom@sanctum.geek.nz> | 2014-11-13 18:12:00 +1300 |
---|---|---|
committer | Tom Ryder <tom@sanctum.geek.nz> | 2014-11-13 18:12:00 +1300 |
commit | ca83a06667dfb2acdee88b56d5c26ad89261651d (patch) | |
tree | 7be78a38c4a7e57c3d5a7ca72f815edcba6de65e /bash | |
parent | Pull Vim plugin submodules in separate target (diff) | |
download | dotfiles-ca83a06667dfb2acdee88b56d5c26ad89261651d.tar.gz dotfiles-ca83a06667dfb2acdee88b56d5c26ad89261651d.zip |
Remove unnecessary null COMPREPLY assigns
Diffstat (limited to 'bash')
-rw-r--r-- | bash/bashrc.d/ftp.bash | 1 | ||||
-rw-r--r-- | bash/bashrc.d/gnupg.bash | 2 | ||||
-rw-r--r-- | bash/bashrc.d/mysql.bash | 1 | ||||
-rw-r--r-- | bash/bashrc.d/pass.bash | 1 | ||||
-rw-r--r-- | bash/bashrc.d/ssh.bash | 1 |
5 files changed, 0 insertions, 6 deletions
diff --git a/bash/bashrc.d/ftp.bash b/bash/bashrc.d/ftp.bash index cbd7680e..85130d7a 100644 --- a/bash/bashrc.d/ftp.bash +++ b/bash/bashrc.d/ftp.bash @@ -5,7 +5,6 @@ _ftp() { # Bail if the .netrc file is illegible local netrc=$HOME/.netrc if [[ ! -r $netrc ]] ; then - COMPREPLY=() return 1 fi diff --git a/bash/bashrc.d/gnupg.bash b/bash/bashrc.d/gnupg.bash index 44697f58..cfbda514 100644 --- a/bash/bashrc.d/gnupg.bash +++ b/bash/bashrc.d/gnupg.bash @@ -16,13 +16,11 @@ _gpg() { # Bail if no gpg(1) if ! hash gpg 2>/dev/null ; then - COMPREPLY=() return 1 fi # Bail if word doesn't start with two dashes if [[ $word != --* ]] ; then - COMPREPLY=() return 1 fi diff --git a/bash/bashrc.d/mysql.bash b/bash/bashrc.d/mysql.bash index bc4d0272..97bb1764 100644 --- a/bash/bashrc.d/mysql.bash +++ b/bash/bashrc.d/mysql.bash @@ -29,7 +29,6 @@ _mysql() { declare -a files=("$dir"/*.cnf) ((! ${#files[@]})) ) ; then - COMPREPLY=() return 1 fi diff --git a/bash/bashrc.d/pass.bash b/bash/bashrc.d/pass.bash index b39608ba..39240d9e 100644 --- a/bash/bashrc.d/pass.bash +++ b/bash/bashrc.d/pass.bash @@ -3,7 +3,6 @@ _pass() { # Bail if no pass(1) if ! hash pass 2>/dev/null ; then - COMPREPLY=() return 1 fi diff --git a/bash/bashrc.d/ssh.bash b/bash/bashrc.d/ssh.bash index 0f1a8d65..3a847dc4 100644 --- a/bash/bashrc.d/ssh.bash +++ b/bash/bashrc.d/ssh.bash @@ -14,7 +14,6 @@ _ssh() { # Bail if the configuration file is illegible local config=$HOME/.ssh/config if [[ ! -r $config ]] ; then - COMPREPLY=() return 1 fi |