From 6bcb7df3118f8a752b16bdb98838855303ab164a Mon Sep 17 00:00:00 2001 From: Tom Ryder Date: Tue, 21 Jun 2016 11:16:45 +1200 Subject: Remove unneeded line-break backslashes --- bin/han | 2 +- bin/td | 2 +- 2 files changed, 2 insertions(+), 2 deletions(-) diff --git a/bin/han b/bin/han index e03a6ac5..34b33ab3 100755 --- a/bin/han +++ b/bin/han @@ -46,7 +46,7 @@ trap cleanup EXIT # If we have exactly one argument and a call to the help builtin with that # argument succeeds, display its output with `pager -s`. -if (($# == 1)) && \ +if (($# == 1)) && help "${helpopts[@]}" "$1" >"$tmpdir"/"$1".help 2>/dev/null ; then (cd -- "$tmpdir" && pager -s -- "$1".help) diff --git a/bin/td b/bin/td index e4b0669a..466d2ed4 100755 --- a/bin/td +++ b/bin/td @@ -29,7 +29,7 @@ cd -- "$dir" || exit # Quick function to determine if a directory is a Git repository isrepo() { - { git symbolic-ref --quiet HEAD || \ + { git symbolic-ref --quiet HEAD || git rev-parse --short HEAD } >/dev/null 2>&1 } -- cgit v1.2.3