Closed hendrikeng closed 6 years ago
It looks like it's erroring during building out an alias for the ls command:
# Directory coloring
if [[ $OSTYPE = (darwin|freebsd)* ]]; then
# Prefer GNU version, since it respects dircolors.
alias ls='() { $(whence -p gls) -Ctr --file-type --color=auto $@ }'
export CLICOLOR="YES" # Equivalent to passing -G to ls.
export LSCOLORS="exgxdHdHcxaHaHhBhDeaec"
else
alias ls='() { $(whence -p ls) -Ctr --file-type --color=auto $@ }'
fi
What's your OS/zsh version?
Thanks a lot tony, its macOS 10.13, zsh 5.3.1 (x86_64-apple-darwin16.3.0) and the latest oh-my-zsh
@hendrikeng Is there anyway to try zsh 5.4.x on your macOS setup? Do you use brew or macports at all?
I'm having the same issue with the ls command and I'm using the current zsh / oh-my-zsh. Trying to track down the cause myself
I ran brew install coreutils
and that fixed the issue for me. I believe gls
was what was throwing things off. The coreutils package allows you to put the -G
flag on the front of the command, how you see it in the .zshrc file
Interesting, thanks for hunting it down @RyanMilstead1 I'll push a fix for that :+1:
Thanks guys, just pushed an update. Please reopen if you're still having issues!
hey tony thanks for your nice theme..somehow i get those errors when trying to execute basic commands, i thought u migth have an idea whats causing it, thanks a lot :
this is the stripped down config i used: