diff options
author | Tom Ryder <tom@sanctum.geek.nz> | 2016-09-10 10:33:39 +1200 |
---|---|---|
committer | Tom Ryder <tom@sanctum.geek.nz> | 2016-09-10 10:33:39 +1200 |
commit | 149ad8d488af3cdf98b13a9042af43f2d155175b (patch) | |
tree | 36490003612276414b71f7fa411012ee6ba21c42 /bash/bash_completion.d | |
parent | Fix trailing whitespace (diff) | |
download | dotfiles-149ad8d488af3cdf98b13a9042af43f2d155175b.tar.gz dotfiles-149ad8d488af3cdf98b13a9042af43f2d155175b.zip |
Move a local declaration
Diffstat (limited to 'bash/bash_completion.d')
-rw-r--r-- | bash/bash_completion.d/git.bash | 2 |
1 files changed, 1 insertions, 1 deletions
diff --git a/bash/bash_completion.d/git.bash b/bash/bash_completion.d/git.bash index 7e256952..926cb151 100644 --- a/bash/bash_completion.d/git.bash +++ b/bash/bash_completion.d/git.bash @@ -131,8 +131,8 @@ _git() { # Complete with remote subcommands and then remote names remote) - local word if ((COMP_CWORD == 2)) ; then + local word while IFS= read -r word ; do [[ -n $word ]] || continue COMPREPLY[${#COMPREPLY[@]}]=$word |