Playing with byobu & bashrc i messed up bashrc. Since then “ls” not showing any colors and it was very difficult and irritating to identify, directories, binaries and files. to fix this issue use “—color=auto” with ls, You’ll see blue , green and black colors as usual.
Using this log command instead of “ls” is a pain so simply add an alias to basic and your problem is solved.
ubuntu@ubuntu:~/tmp$ vim ~/.bashrc ubuntu@ubuntu:~/tmp$ alias ls='ls --color=auto' ubuntu@ubuntu:~/tmp$ source ~/.bashrcNow type only “ls” and you’ll see colors. gil ...
0 Comments