by hakre · 3y ago · 0 comments
example alias:
$ alias ls
ls='ls --color=tty'
and from ls(1): "With --color=auto, ls emits color codes only when standard output is connected to a terminal. The LS_COLORS environment variable can change the settings. Use the dircolors command to set it."("tty" and "if-tty" are the same as "auto")
No comments yet.