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.
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
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
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.
>
Configuration Information [Automatically generated, do not change]:
Machine: x86_64
OS: linux-gnu
Compiler: gcc
Compilation CFLAGS: -DPROGRAM='bash' -DCONF_HOSTTYPE='x86_64'
-DCONF_OSTYPE='linux-gnu' -DCONF_MACHTYPE='x86_64-pc-linux-gnu'
-DCONF_VENDOR='pc' -DLOCALEDIR='/usr/share/locale' -DPACKAGE