bug-bash
[Top][All Lists]
Advanced

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

Re: built in bash commands that change directory circumvent user defined


From: nadim khemir
Subject: Re: built in bash commands that change directory circumvent user defined cd
Date: Sun, 20 Nov 2016 23:57:16 +0100

Thank you now I know that I need a cd function rather than an alias.

N

On Sun, Nov 20, 2016 at 11:39 PM, Chet Ramey <chet.ramey@case.edu> wrote:
On 11/20/16 1:20 PM, nadim khemir wrote:
> Will it also call the cd alias?

No.  Alias expansion takes place very early on in parsing, as part of
lexical analysis.

Chet

--
``The lyf so short, the craft so long to lerne.'' - Chaucer
                 ``Ars longa, vita brevis'' - Hippocrates
Chet Ramey, UTech, CWRU    chet@case.edu    http://cnswww.cns.cwru.edu/~chet/


reply via email to

[Prev in Thread] Current Thread [Next in Thread]