LinuxQuestions.org

LinuxQuestions.org (/questions/)
-   Linux - Software (https://www.linuxquestions.org/questions/linux-software-2/)
-   -   Error message on opening up a csh terminal in Fedora 9 Unknown colorls variable `ca'. (https://www.linuxquestions.org/questions/linux-software-2/error-message-on-opening-up-a-csh-terminal-in-fedora-9-unknown-colorls-variable-%60ca-659523/)

mrground 07-31-2008 10:24 AM

Error message on opening up a csh terminal in Fedora 9 Unknown colorls variable `ca'.
 
Whenever I open a terminal in Fedora 9 I'm reciving the error message "Unknown colorls variable `ca'."
I'm using the csh environment because I need that to install an analysis program iraf. I don't mind the problem except that when I type the install command for the program I get the same error message and it dosn't install. Does anyone have any ideas?

Kris

colucix 07-31-2008 10:48 AM

This is a bug on Fedora 9 related to the dircolors command. This command is executed by /etc/profile.d/colorls.csh and is meant to set the LS_COLORS environment variable. As a workaround you can put a custom .dir_colors file in your home directory:
Code:

cp /etc/DIR_COLORS $HOME/.dir_colors
then edit the .dir_colors file and comment out the line with CAPABILITY. See man dircolors for some details.

mrground 07-31-2008 11:21 AM

Thanks a lot!! It worked perfectly.

praveencusat 08-01-2008 11:37 AM

Quote:

Originally Posted by colucix (Post 3232213)
Code:

cp /etc/DIR_COLORS $HOME/.dir_colors
then edit the .dir_colors file and comment out the line with CAPABILITY. See man dircolors for some details.

The following worked for me in gnome,
Code:

cp /etc/DIR_COLORS.xterm $HOME/.dir_colors.xterm
Quote:

then edit the .dir_colors.xterm file and comment out the line with CAPABILITY.
Thanks


All times are GMT -5. The time now is 05:58 PM.