aboutsummaryrefslogtreecommitdiff
path: root/bin
diff options
context:
space:
mode:
authorTom Ryder <tom@sanctum.geek.nz>2016-07-15 14:31:11 +1200
committerTom Ryder <tom@sanctum.geek.nz>2016-07-15 14:31:11 +1200
commit39e52143f8f198e93d36ef2037904e9f1613dfaf (patch)
treee6565c3a3ec4f2d7d9c8e7f57b052a6249ef11fc /bin
parentQuote expansions within parameter expansions (diff)
downloaddotfiles-39e52143f8f198e93d36ef2037904e9f1613dfaf.tar.gz
dotfiles-39e52143f8f198e93d36ef2037904e9f1613dfaf.zip
Use - rather than /dev/stdin
less(1) gets upset if it's not a regular file, because reasons.
Diffstat (limited to 'bin')
-rwxr-xr-xbin/pit2
1 files changed, 1 insertions, 1 deletions
diff --git a/bin/pit b/bin/pit
index f91be680..d7ebd4c5 100755
--- a/bin/pit
+++ b/bin/pit
@@ -2,7 +2,7 @@
# If no arguments, we'll use stdin
if [ "$#" -eq 0 ] ; then
- set /dev/stdin
+ set -- -
fi
# If output seems to be to a terminal, try to run input through a pager of some