X-Git-Url: https://ruderich.org/simon/gitweb/?a=blobdiff_plain;f=lessfilter;h=404cbe05a0612c2ffc3c46671d26f5273ce21439;hb=7a779b6cf91369c3f364944dc963fa2861754f29;hp=92d62c42009d762cbdee483eac5ecfd4fd03046f;hpb=19420fa802a6d29f6268221894798ba86938a15e;p=config%2Fdotfiles.git 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