aboutsummaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorTom Ryder <tom@sanctum.geek.nz>2018-12-27 00:05:26 +1300
committerTom Ryder <tom@sanctum.geek.nz>2018-12-27 00:05:26 +1300
commit43f9952db851ebcfa9f14b3e7e9a40886f43cd16 (patch)
tree9b9f4843db4219f577aa8c8c27ac57ed20cc4983
parentTwo-space sentences in VimL comments (diff)
downloaddotfiles-43f9952db851ebcfa9f14b3e7e9a40886f43cd16.tar.gz
dotfiles-43f9952db851ebcfa9f14b3e7e9a40886f43cd16.zip
Break up some long lines
-rw-r--r--bin/dub.sh6
-rw-r--r--bin/han.bash6
-rw-r--r--bin/mi5.awk4
-rw-r--r--ksh/shrc.d/ksh.sh8
-rw-r--r--readline/inputrc4
5 files changed, 14 insertions, 14 deletions
diff --git a/bin/dub.sh b/bin/dub.sh
index e3d16709..7556241f 100644
--- a/bin/dub.sh
+++ b/bin/dub.sh
@@ -9,9 +9,9 @@ dir=${1:-.} lim=${2:-10}
# Enter the target dir or bail
cd -- "$dir" || exit
-# Some find(1) devilry to deal with newlines as safely as possible. The idea is
-# not even to touch them, and warn about their presence; better the results are
-# wrong than malformed
+# Some find(1) devilry to deal with newlines as safely as possible. The idea
+# is not even to touch them, and warn about their presence; better the results
+# are wrong than malformed
nl=$(printf '\n/')
find . ! -name . -prune \( \
-name '*'"${nl%/}"'*' \
diff --git a/bin/han.bash b/bin/han.bash
index e44ffb97..8a289e6e 100644
--- a/bin/han.bash
+++ b/bin/han.bash
@@ -1,9 +1,9 @@
# Abstract calls to Bash help vs man(1)
self=han
-# Ensure we're using at least version 2.05. Weird arithmetic syntax needed here
-# due to leading zeroes and trailing letters in some 2.x version numbers (e.g.
-# 2.05a).
+# Ensure we're using at least version 2.05. Weird arithmetic syntax needed
+# here due to leading zeroes and trailing letters in some 2.x version numbers
+# (e.g. 2.05a).
# shellcheck disable=SC2128
[ -n "$BASH_VERSINFO" ] || exit
((BASH_VERSINFO[0] == 2)) &&
diff --git a/bin/mi5.awk b/bin/mi5.awk
index c5ca7aff..0a00d1d7 100644
--- a/bin/mi5.awk
+++ b/bin/mi5.awk
@@ -55,8 +55,8 @@ bmac && NF {
# Start off neither quoting nor macroing.
iquo = imac = 0
- # Crude and slow, clansman. Your parser was no better than that of a clumsy
- # child.
+ # Crude and slow, clansman. Your parser was no better than that of a
+ # clumsy child.
for (i = 1; i <= length(src); ) {
# Inline macro expansion: commented
diff --git a/ksh/shrc.d/ksh.sh b/ksh/shrc.d/ksh.sh
index 8913b4a1..5ad14b9c 100644
--- a/ksh/shrc.d/ksh.sh
+++ b/ksh/shrc.d/ksh.sh
@@ -5,8 +5,8 @@
# Unfortunately, this isn't very simple, because KSH_VERSION is set by PDKSH
# and derivatives, and in ksh93t+ and above, but not in earlier versions of
-# ksh93. To make matters worse, the best way I can find for testing the version
-# makes other shells throw tantrums.
+# ksh93. To make matters worse, the best way I can find for testing the
+# version makes other shells throw tantrums.
# Does the name of our shell have "ksh" in it at all? This is in no way
# guaranteed. It's just a heuristic that e.g. Bash shouldn't pass.
@@ -19,8 +19,8 @@ esac
# before we proceed ...
if [ -z "$KSH_VERSION" ] ; then
- # Test whether we have content in the .sh.version variable. Suppress errors
- # and run it in a subshell to work around parsing error precedence.
+ # Test whether we have content in the .sh.version variable. Suppress
+ # errors and run it in a subshell to work around parsing error precedence.
# shellcheck disable=SC2234
( test -n "${.sh.version}" ) 2>/dev/null || return
diff --git a/readline/inputrc b/readline/inputrc
index f9007c24..ab9dde86 100644
--- a/readline/inputrc
+++ b/readline/inputrc
@@ -53,8 +53,8 @@ $if Bash
# Expand ! history with a spacebar press
# Note that this makes your shell unusable if your Bash doesn't have
- # magic-space. It's had this feature since 2.02, which is below the minimum
- # 2.05a supported by these dotfiles.
+ # magic-space. It's had this feature since 2.02, which is below the
+ # minimum 2.05a supported by these dotfiles.
Space: magic-space
# Tab does traditional blocking completion