updated to use env for finding less app
authorChris Koeritz <cak0l@virginia.edu>
Wed, 5 Feb 2020 14:28:23 +0000 (09:28 -0500)
committerChris Koeritz <cak0l@virginia.edu>
Wed, 5 Feb 2020 14:28:23 +0000 (09:28 -0500)
scripts/files/lesser.sh

index f6674f1364880583496ede3baa4281de51a21395..16eb3176bd70af0ccc1066faf011f38f80a0700c 100644 (file)
@@ -30,7 +30,7 @@ function lesser()
   fi
 
   # run the source highlighter first if needed.
-  /bin/less $EXTRA_OPTIONS "${@}" 
+  /usr/bin/env less $EXTRA_OPTIONS "${@}" 
 }
 
 ##############