aboutsummaryrefslogtreecommitdiff
path: root/sh/shrc.d
diff options
context:
space:
mode:
authorTom Ryder <tom@sanctum.geek.nz>2016-08-24 15:50:58 +1200
committerTom Ryder <tom@sanctum.geek.nz>2016-08-24 15:50:58 +1200
commit2110561491720938b2421c678468192bdf37c400 (patch)
treefa10bc020ff746bda5b680c502af9894a883f702 /sh/shrc.d
parentAdd -n to grep(1) call for gore() (diff)
downloaddotfiles-2110561491720938b2421c678468192bdf37c400.tar.gz
dotfiles-2110561491720938b2421c678468192bdf37c400.zip
Reassure shellcheck about ls(1) piping
Diffstat (limited to 'sh/shrc.d')
-rw-r--r--sh/shrc.d/lore.sh1
1 files changed, 1 insertions, 0 deletions
diff --git a/sh/shrc.d/lore.sh b/sh/shrc.d/lore.sh
index 2d7c0bec..e00b945a 100644
--- a/sh/shrc.d/lore.sh
+++ b/sh/shrc.d/lore.sh
@@ -17,6 +17,7 @@ lore() {
fi
# Run whatever `ls` gives us; it might be our function wrapper; that's OK
+ # shellcheck disable=SC2012
ls "$@" |
# Run the appropriate pager; if it's less(1), we can tack on -R (though my