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

RE: Jessie - Strange Alias Problem




-----Original Message-----
From: Thomas Schmitt [mailto:scdbackup@gmx.net] 
Sent: Monday, October 17, 2016 12:27 PM
To: debian-user@lists.debian.org
Subject: Re: Jessie - Strange Alias Problem

Hi,

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!!!

What exactly do you mean by "[to] source" ?


> If I change to another directory - it doesn't work!

I can reproduce this only if the other directory contains nothing but data files which do not get a fancy color.
(I put the alias into ~/.bashrc and start a new xterm to get it into
 effect.)


Have a nice day :)

Thomas

source /home/comp/.bashrc


Reply to: