Groups | Search | Server Info | Keyboard shortcuts | Login | Register [http] [https] [nntp] [nntps]


Groups > linux.debian.user > #173539

Re: Jessie - Strange Alias Problem

From "Thomas Schmitt" <scdbackup@gmx.net>
Newsgroups linux.debian.user
Subject Re: Jessie - Strange Alias Problem
Date 2016-10-17 18:30 +0200
Message-ID <stiXv-5Qr-7@gated-at.bofh.it> (permalink)
References <sthf3-4Gc-1@gated-at.bofh.it>
Organization linux.* mail to news gateway

Show all headers | View raw


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

Back to linux.debian.user | Previous | Next — Previous in thread | Next in thread | Find similar | Unroll thread


Thread

Jessie - Strange Alias Problem "S. P. Molnar" <s.molnar@sbcglobal.net> - 2016-10-17 16:40 +0200
  Re: Jessie - Strange Alias Problem Greg Wooledge <wooledg@eeg.ccf.org> - 2016-10-17 16:50 +0200
  Re: Jessie - Strange Alias Problem "Thomas Schmitt" <scdbackup@gmx.net> - 2016-10-17 18:30 +0200
    RE: Jessie - Strange Alias Problem "Stephen P. Molnar" <s.molnar@sbcglobal.net> - 2016-10-17 18:50 +0200
      Re: Jessie - Strange Alias Problem "Thomas Schmitt" <scdbackup@gmx.net> - 2016-10-17 19:00 +0200
        Re: Jessie - Strange Alias Problem "S. P. Molnar" <s.molnar@sbcglobal.net> - 2016-10-17 19:00 +0200
          Re: Jessie - Strange Alias Problem Greg Wooledge <wooledg@eeg.ccf.org> - 2016-10-17 19:10 +0200
            Re: Jessie - Strange Alias Problem "Thomas Schmitt" <scdbackup@gmx.net> - 2016-10-17 19:40 +0200
              Re: Jessie - Strange Alias Problem "S. P. Molnar" <s.molnar@sbcglobal.net> - 2016-10-17 19:50 +0200
                Re: Jessie - Strange Alias Problem "Thomas Schmitt" <scdbackup@gmx.net> - 2016-10-17 21:20 +0200
                RE: Jessie - Strange Alias Problem "Stephen P. Molnar" <s.molnar@sbcglobal.net> - 2016-10-17 21:40 +0200
                Re: Jessie - Strange Alias Problem "Thomas Schmitt" <scdbackup@gmx.net> - 2016-10-17 22:20 +0200

csiph-web