Hi,
The internal cd command is very limited. It doesn't support %
substitutions, doesn't expands variables nor output of external commands
It's impossible to do for example:
cd %D
cd TES* (if only one dir matches the wildcard)
cd `/bin/pwd`
cd $SOMEVAR
cd somedir || echo fail
All of the above commands do work in any normal shell, but not in mc.
However after defining the follwing alias in bash
alias ccd='cd'
I can use `ccd %D', `ccd $VAR' etc. in mc.
I wish this could be possible without the alias - either support for
such an advanced features could be added to mc, or mc could provide a
way to disable the internal cd in favour of the shell built-in one.
Regards,
Robert