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


Groups > linux.debian.user > #173543

Re: Jessie - Strange Alias Problem

From Greg Wooledge <wooledg@eeg.ccf.org>
Newsgroups linux.debian.user
Subject Re: Jessie - Strange Alias Problem
Date 2016-10-17 19:10 +0200
Message-ID <stjAd-6l5-7@gated-at.bofh.it> (permalink)
References <stjqy-61C-45@gated-at.bofh.it> <stjqy-61C-65@gated-at.bofh.it>
Organization linux.* mail to news gateway

Show all headers | View raw


On Mon, Oct 17, 2016 at 12:53:41PM -0400, S. P. Molnar wrote:
> comp@AbNormal:~$ alias l
> -bash: alias: l: not found

Use "type l" immediately after sourcing the .bashrc file.  Then do it
again, then do your cd, then do it a third time.

If the .bashrc is simply malformed, then the alias ought not to work
even the first time.  But you reported that it does work once.

If the alias is set immediately after "source", but then goes away
immediately, then you're probably clobbering it in a DEBUG trap, or
in a PROMPT_COMMAND.

If the alias persists after the first type command, but goes away when
you cd, then you've probably got an alias or function overriding the
cd command.

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