[Date Prev][Date Next] [Thread Prev][Thread Next] [Date Index] [Thread Index]

Re: Jessie - Strange Alias Problem



On Mon, Oct 17, 2016 at 10:34:11AM -0400, S. P. Molnar wrote:
> I have the following line in my /home/comp/.bashrc;
> 
>  alias l='ls -l --color'
> 
> If I source the file in my /home/comp it works - once!, and only in my 
> home directory!!!  If I change to another directory - it doesn't work!

Use the command "type l" before and after changing directory, to be
sure your alias is still set the way you expect.  It's possible that
you've overridden the "cd" command in such a way that it removes or
changes your aliases (although that would be a pretty unusual thing
to do).


Reply to: