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"