X-Git-Url: http://git.grml.org/?a=blobdiff_plain;f=etc%2Fskel%2F.zshrc;h=6146f47ec4e89f42ee00006fc71ed5bf24f9609e;hb=refs%2Ftags%2F0.2.21;hp=dbadf3cbf0cef55472218c07751f5dee5b9b5a86;hpb=73d7a9a13106115c65b57734e1fca59b23152c3f;p=grml-etc-core.git diff --git a/etc/skel/.zshrc b/etc/skel/.zshrc index dbadf3c..6146f47 100644 --- a/etc/skel/.zshrc +++ b/etc/skel/.zshrc @@ -35,9 +35,9 @@ # set default browser if [ -z "$BROWSER" ] ; then if [ -n "$DISPLAY" ] ; then - [ -x =firefox ] && export BROWSER=firefox + [ -x $(which firefox) ] && export BROWSER=firefox else - [ -x =w3m ] && export BROWSER=w3m + [ -x $(which w3m) ] && export BROWSER=w3m fi fi (( ${+PAGER} )) || export PAGER="less" @@ -776,7 +776,7 @@ } # highlight important stuff in diff output, usage example: hg diff | hidiff - [ -x =histring ] && \ + [ -x $(which histring) ] && \ alias hidiff="histring -fE '^Comparing files .*|^diff .*' | histring -c yellow -fE '^\-.*' | histring -c green -fE '^\+.*'" # rename pictures based on information found in exif headers