aliases in .bashrc file
Hey,
i added the alias ls='ls -F' to my .bashrc file to take away the coloring of dir, files, etc, but for some reason it only works when i ssh to my box. I'd really like to turn off the coloring and just use the "-F" switch when doing an "ls" Can anyone assist me here? thanks |
make sure you followed this proceedure: http://www.mcsr.olemiss.edu/unixhelp...ias_bash2.html
|
You have to put:
alias ls='ls --color=never' in your .bashrc or /etc/profile for system wide settings |
that might work on slackware but its not working on RH9 don't know what the deal is at this point. i'm kind of tired of having to do alias ls='ls -F' everytime i open up a new shell oh well, guess i'll puts around a bit more
|
so i added the alias to the .bash_profile file and that seemed to have fixed my problem...weird, but i'll take it.
|
ok problem is only half-way solved. if i open a new terminal i still have to do source .bash_profile which pretty much leaves in the the same place, i have to take the extra step to enable my alias.
|
You will until you log out and back in. Then it will work on all of your consoles
Or you could just get out of everything except your login console, do a source .bash_profile and then it will work on all child consoles. |
Quote:
xterm -ls |
All times are GMT -5. The time now is 12:54 PM. |