exa shows no color when run as an alias

Created on 19 May 2019  路  3Comments  路  Source: ogham/exa

So I have a file full of aliases and wanted to add this to replace ls. I use oh-my-zsh. When it was added, the command ran but no color showed ever.

Most helpful comment

I cant replicate the issue. I added "alias ls='exa'" in my dot-alias file but color still works fine. I run bash.

Can it be that your aliasfile or script calling it removes color?
Do you have any other alias that does work with color?

All 3 comments

I cant replicate the issue. I added "alias ls='exa'" in my dot-alias file but color still works fine. I run bash.

Can it be that your aliasfile or script calling it removes color?
Do you have any other alias that does work with color?

I ran into the same problem, however in my case I had to provide the full path to exa in the alias for coloring to work correctly.
alias ls='/usr/local/bin/exa'

Gotta be honest, I have no idea what would cause something like this to happen.

@MohamedElm1678, is this still happening? What happens when you run which exa?

Was this page helpful?
0 / 5 - 0 ratings

Related issues

dbohdan picture dbohdan  路  6Comments

photex picture photex  路  4Comments

mhalano picture mhalano  路  4Comments

lilianmoraru picture lilianmoraru  路  5Comments

s-hamann picture s-hamann  路  5Comments