I was trying to list the paths of the ls executables using where ls, which should list all locations where the ls executables exist along with the alias of ls.

I've also installed coreutils through homebrew with the prefix g so the command ls from coreutils will be gls.

When I run the command where ls I got the following output.

$ where ls                                                                                                                                                             
ls: aliased to command exa -F --icons

My question is why /usr/local/bin/gls is listed?


1 Answer 1


Found the cause of the problem. I have ohmyzsh and enabled gnu-utils plugin.

When I disabled the gnu-utils plugin, the list did not contain gls.

You must log in to answer this question.

Not the answer you're looking for? Browse other questions tagged .