You are Here:
Linux Lite - A.I. Helper is now at Version 2 - Give it a go here linuxliteos.com/aihelp



alias ls="ls --color" outputs color codes

Author (Read 2399 times)

0 Members and 1 Guest are viewing this topic.

alias ls="ls --color" outputs color codes
« Reply #1 on: July 19, 2022, 04:46:44 PM »
 

sentim

  • New to Forums
  • *
  • 1
    Posts
  • Reputation: 0
  • Linux Lite Member
    • View Profile
Hello linuxlite,

I believe it would be better to change bash alias:

from:
alias ls="ls --color"
to:
alias ls="ls --color=auto"

That would not output color codes in terminal.

Thanks
 

 

-->
X Close Ad

Linux Lite - A.I. Helper is now at Version 2 - Give it a go here linuxliteos.com/aihelp