On Wednesday 17 December 2008 07:28, John Lange wrote:
I don't like the fact that SUSE aliases l = ls -laF. I'd rather have it as 'ls -lF'. Ok, no problem (I thought). I'll just create /etc/bash.bashrc.local and put "alias l='ls -lF'" .
It works and here is my alias entries:
alias l='ls -lF' alias la='ls -la' alias ll='ls -l' alias ls='/bin/ls $LS_OPTIONS'
Except, it actually doesn't work. No matter what I do "ls" always does a "-a".
Try it. If you do "ls", you actually get "ls -a". "ls -l" is actually "ls -la".
Where is "ls" is getting "-a" from and I how do I fix it? It's not in an alias entry so where could it be?
The answer is right in front of you! LS_OPTIONS.
-- John Lange
Randall Schulz -- To unsubscribe, e-mail: opensuse+unsubscribe@opensuse.org For additional commands, e-mail: opensuse+help@opensuse.org