X-Git-Url: https://git.phdru.name/?p=dotfiles.git;a=blobdiff_plain;f=.profile;h=68531ec0057de1c5a3fcac252415ade7d7202033;hp=66fe2fa3fbf306f365d5452898b1d3e544e6e78d;hb=e886fa67844c874f1a7229f7bd14dc0a90534f27;hpb=a176b6b17c8e7fafdaa627f5fa5024be7f18f67e diff --git a/.profile b/.profile index 66fe2fa..68531ec 100644 --- a/.profile +++ b/.profile @@ -80,7 +80,7 @@ if [ -t 0 ] ; then stty sane erase ^H - if [ -n "`which less 2>/dev/null`" ]; then + if which less >/dev/null 2>&1; then HAS_LESS=true fi