From 4f50c264d0def41faeb828c93330d720a5c459b6 Mon Sep 17 00:00:00 2001 From: Tom Ryder Date: Sat, 1 Dec 2018 02:27:32 +1300 Subject: Remove needless line breaks from git completion --- bash/bash_completion.d/git.bash | 8 ++------ 1 file changed, 2 insertions(+), 6 deletions(-) (limited to 'bash') 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 ;; -- cgit v1.2.3