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 [email protected] http://cnswww.cns.cwru.edu/~chet/