LinuxQuestions.org

LinuxQuestions.org (/questions/)
-   Slackware (https://www.linuxquestions.org/questions/slackware-14/)
-   -   i have to su to get colorized 'ls' in xterm..? (https://www.linuxquestions.org/questions/slackware-14/i-have-to-su-to-get-colorized-ls-in-xterm-50043/)

doublefailure 03-15-2003 11:15 PM

i have to su to get colorized 'ls' in xterm..?
 
hello..
as subject says.i have to su - user
once to get color in xterm..
how can i correct this?

slack 8.1

acid_kewpie 03-16-2003 03:49 AM

set an alias in your .bashrc, or global equivalent saysing
Code:

alias ls="ls --color=auto"
should be fine after that

trickykid 03-16-2003 08:47 AM

Well by default you won't have a .bashrc file in your home directory for that user. you could simply cp the /etc/profile to /home/~/.bashrc and edit it accordingly.


All times are GMT -5. The time now is 02:29 PM.