Q:

When typing 'ls' command I get 'zsh: command not found: gls'

Something strange just happened.
I use iTerm2 and oh-my-zsh on my MacBook and am up-to-date (build 3.0.10 of iTerm2 and current version of oh-my-zsh which I don't know what is). After updating, this happens when typing the ls command:

ls
zsh: command not found: gls

... does anyone know what just happened and how to fix this? I have never heard of gls and just simply want my old ls back!
Edit:
For some reason the update made an alias for ls='gls --color=tty', and since I do not have gls, the command was not found. I simply changed the alias to:

alias ls='ls -G'

(found here: https://superuser.com/questions/183876/how-do-i-get-ls-color-auto-to-work-on-mac-os-x)
and now it works again. Should have figured this out before posting! :)

A:

As seen in my edit:
For some reason the update made an alias for ls='gls --color=tty', and since I do not have gls, the command was not found. I simply changed the alias to:
alias ls='ls -G'
(found here: https://superuser.com/questions/183876/how-do-i-get-ls-color-auto-to-work-on-mac-os-x)
and now it works again. Should have figured this out before posting! :)

