mirror of
https://github.com/NaomiAmethyst/dots.git
synced 2025-04-13 09:30:06 +00:00
solaris can also have slocate on it
This commit is contained in:
parent
395d54464f
commit
b7b48e1e22
1 changed files with 3 additions and 1 deletions
4
zshrc
4
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
|
||||
;;
|
||||
|
|
Loading…
Add table
Reference in a new issue