From 6aaf12a814bdd97e570a4a817760297c06bef0f8 Mon Sep 17 00:00:00 2001 From: 10sr <8slashes+git@gmail.com> Date: Mon, 3 Feb 2014 13:37:56 +0900 Subject: [PATCH] fix LESSOPEN --- shrc | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/shrc b/shrc index f36048d..ac8f731 100755 --- a/shrc +++ b/shrc @@ -129,7 +129,7 @@ fi export LESS="-iRMX" # Style for lesspipe is defined in esc.style -_src_hilite_lp_path="`which src-hilite-lesspipe.sh 2>/dev/null`" +_src_hilite_lp_path="`command -v src-hilite-lesspipe.sh 2>/dev/null`" for f in /usr/share/source-highlight/src-hilite-lesspipe.sh do test -z "$_src_hilite_lp_path" && test -e "$f" && _src_hilite_lp_path="$f"