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 <chet.ra...@case.edu> wrote: > 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. > > > > Repeat-By: > > set a different HISFILE in each directory via an own 'cd' > > set autocd > > name-of-directory, return > > HISFILE is not changed as custom 'cd' is not called > > This was changed in bash-4.4. Bash will call a function named `cd' if one > exists before calling the `cd' builtin in this case. > > > -- > ``The lyf so short, the craft so long to lerne.'' - Chaucer > ``Ars longa, vita brevis'' - Hippocrates > Chet Ramey, UTech, CWRU c...@case.edu http://cnswww.cns.cwru.edu/~ > chet/ >