Red Hat Bugzilla – Bug 106366
colorls.sh aliases do not load in GNOME terminal
Last modified: 2014-03-16 22:39:21 EDT
Description of problem:
The aliases described in /etc/profile.d/colols.sh do not get loaded at login,
nor when script is run through bash. However, if another bash process is
started (e.g., 'bash', 'script'), the aliases load correctly.
Version-Release number of selected component (if applicable):
Steps to Reproduce:
1. Run GNOME terminal.
3. sh -x /etc/profile.d/colorls.sh
Aliases are not loaded in intial GNOME terminal, even though it appears that
they should be.
alias ll='ls -l --color=tty'
Looks like a bashrc problem.
Are you logging in via GDM?
Yes I am loggin in via GDM. I think this bug was fixed in the second-to-last
round of updates, but I can't confirm this until tomorrow (10/14/03). I will
provide more information then.
Created attachment 99435 [details]
Changes in etc to properly change ls colors
--color=tty is an invalid argument for ls. The proper argument is
This file shows the changes necessary for /etc/DIR_COLORS,
/etc/profile.d/colorls.sh /etc/profile.d/colorls.csh. It also adds color
support for putty terminals should that be desired.
ls --color=tty *is* valid. 'always' is almost always wrong - think
Please reopen if this persists with FC1, or FC2 test.