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?
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 --color"
Sign up using Google
Sign up using Facebook
Sign up using Stack Exchange
1 year ago