diff options
author | Tom Ryder <tom@sanctum.geek.nz> | 2018-12-01 02:27:32 +1300 |
---|---|---|
committer | Tom Ryder <tom@sanctum.geek.nz> | 2018-12-01 02:27:32 +1300 |
commit | 4f50c264d0def41faeb828c93330d720a5c459b6 (patch) | |
tree | 1f4f90cc10bb2f4df5aaa77be17c2bbe320c41a0 /bash/bash_completion.d | |
parent | Use inverting exclam mark outside conditional (diff) | |
download | dotfiles-4f50c264d0def41faeb828c93330d720a5c459b6.tar.gz dotfiles-4f50c264d0def41faeb828c93330d720a5c459b6.zip |
Remove needless line breaks from git completion
Diffstat (limited to 'bash/bash_completion.d')
-rw-r--r-- | bash/bash_completion.d/git.bash | 8 |
1 files changed, 2 insertions, 6 deletions
diff --git a/bash/bash_completion.d/git.bash b/bash/bash_completion.d/git.bash index 2fd1bb98..28313f76 100644 --- a/bash/bash_completion.d/git.bash +++ b/bash/bash_completion.d/git.bash @@ -19,9 +19,7 @@ _git() { COMPREPLY[${#COMPREPLY[@]}]=$ref ;; esac - done < <(git for-each-ref \ - --format '%(refname)' \ - 2>/dev/null) + done < <(git for-each-ref --format '%(refname)' 2>/dev/null) return ;; @@ -51,9 +49,7 @@ _git() { COMPREPLY[${#COMPREPLY[@]}]=$alias ;; esac - done < <(git config \ - --get-regexp '^alias\.' \ - 2>/dev/null) + done < <(git config --get-regexp '^alias\.' 2>/dev/null) return ;; |