From: Simon Ruderich Date: Mon, 18 Nov 2013 12:13:49 +0000 (+0100) Subject: lessfilter: Minor cleanup. X-Git-Url: https://ruderich.org/simon/gitweb/?a=commitdiff_plain;h=3a9f556f39e03f6a8d5142140fe60e40ed39f5c0;p=config%2Fdotfiles.git lessfilter: Minor cleanup. --- diff --git a/lessfilter b/lessfilter index 92d62c4..404cbe0 100755 --- a/lessfilter +++ b/lessfilter @@ -19,13 +19,13 @@ case "$1" in # Color diff files. *.diff | *.patch) - < "$1" colordiff + colordiff <"$1" ;; *) # Display directory contents. if test -d "$1"; then printf '=> Contents of %s:\n' "$1" - ls "$1" + ls -- "$1" exit 0 fi