Retaining (zsh + prezto)'s color settings after aliasing

155 Views Asked by At

So I use zsh and prezto for my shell and I like the way I've configured my color settings (directories are cyan, etc.) but when I try to write:

    alias ls="ls -l"

to my .zshrc and reload another iterm2 window, the aliased command:

ls works as ls -l

but doesn't have any of the preconfigured colors on directories (they're plain white). Any ideas?

1

There are 1 best solutions below

0
On

Add export CLICOLOR=1 to your .zshrc.