I've used alias to change ls
to ls -l
, but the colours change to the normal font of the terminal (also tried ls -l
before the alias command and the colours appeared fine).
What is wrong?
Thank you
After searching more, I found about the --color option so I used this:
alias ls="ls -l --color"
and it worked fine!
alias ls="ls -l -G"
via this answer