diff --git a/zshrc b/zshrc index a1d8bf7..dcbc7fc 100644 --- a/zshrc +++ b/zshrc @@ -111,7 +111,9 @@ case `uname -s` in alias grep='ggrep -d skip --color=auto' fi - if (which glocate &> /dev/null) ; then + if (which slocate &> /dev/null) ; then + alias locate='slocate' + elif (which glocate &> /dev/null) ; then alias locate='glocate' fi ;;