aboutsummaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorTom Ryder <tom@sanctum.geek.nz>2016-06-21 11:16:45 +1200
committerTom Ryder <tom@sanctum.geek.nz>2016-06-21 11:16:45 +1200
commit6bcb7df3118f8a752b16bdb98838855303ab164a (patch)
tree0d1af70dd9a72977adedaf2e436607fc7965f3c0
parentSwitch to public clones of Vim submodules (diff)
downloaddotfiles-6bcb7df3118f8a752b16bdb98838855303ab164a.tar.gz
dotfiles-6bcb7df3118f8a752b16bdb98838855303ab164a.zip
Remove unneeded line-break backslashes
-rwxr-xr-xbin/han2
-rwxr-xr-xbin/td2
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
}