You are not logged in.
Hey, I have a question.
How do I display directories with a blue color in urxvt? I wanna be able to determine whether or not something is a directory or a file.
Thanks.
Offline
How about 'ls --color'?
Offline
Oh nice, yeah that was exactly what I was looking for.
Now how do I save that configuration so ls will always use --color?
Offline
If your shell is bash, then a line like "alias ls='ls --color'" in your ~/.bashrc would do.
Offline
With or without double quotes?
And I think i'm running bash... It says bash-3,2# at the prompt.
Offline
With or without double quotes?
And I think i'm running bash... It says bash-3,2# at the prompt.
in your ~/.bashrc add
alias ls='ls --color=auto'
MacGregor DESPITE THEM!
7f 45 4c 46 01 01 01 00 00 00 00 00 00 00 00 00
Offline
Alright thanks guys.
But
alias ls="ls --color"
worked too.
Offline
Well, reading 'man ls' would tell you that there are three possibilities (pretty self explanatory):
--color=never, --color=auto, --color=always
and when you use only '--color', it's assumed that it's '--color=always' that you want.
Offline