diff options
author | Tom Ryder <tom@sanctum.geek.nz> | 2016-07-15 14:31:11 +1200 |
---|---|---|
committer | Tom Ryder <tom@sanctum.geek.nz> | 2016-07-15 14:31:11 +1200 |
commit | 39e52143f8f198e93d36ef2037904e9f1613dfaf (patch) | |
tree | e6565c3a3ec4f2d7d9c8e7f57b052a6249ef11fc /bin | |
parent | Quote expansions within parameter expansions (diff) | |
download | dotfiles-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-x | bin/pit | 2 |
1 files changed, 1 insertions, 1 deletions
@@ -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 |