aboutsummaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorTom Ryder <tom@sanctum.geek.nz>2018-12-01 02:27:32 +1300
committerTom Ryder <tom@sanctum.geek.nz>2018-12-01 02:27:32 +1300
commit4f50c264d0def41faeb828c93330d720a5c459b6 (patch)
tree1f4f90cc10bb2f4df5aaa77be17c2bbe320c41a0
parentbd12134df6b92ad7efe192cc7191e648eb5706ab (diff)
downloaddotfiles-4f50c264d0def41faeb828c93330d720a5c459b6.tar.gz
dotfiles-4f50c264d0def41faeb828c93330d720a5c459b6.zip
Remove needless line breaks from git completion
-rw-r--r--bash/bash_completion.d/git.bash8
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
;;