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

2016-11-20 Thread nadim khemir
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 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.

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

2016-11-20 Thread Chet Ramey
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 R

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

2016-11-20 Thread nadim khemir
Will it also call the cd alias? I have 4.4 compiled on my box I could test but I trust you can aswer me without me testing :) Cheers, Nadim. On Sun, Nov 20, 2016 at 7:05 PM, Chet Ramey wrote: > On 11/20/16 4:24 AM, nadim khemir wrote: > > > Bash Version: 4.3 > > Patch Level: 46 > > Release Sta

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

2016-11-20 Thread Chet Ramey
On 11/20/16 4:24 AM, nadim khemir wrote: > Bash Version: 4.3 > Patch Level: 46 > Release Status: release > > Description: > autocd, and other, directly change the current directory, if the user > defines an > own 'cd' command, to handle multiple sessions for example, that command is not > run. >