id	summary	reporter	owner	description	type	status	priority	milestone	component	version	resolution	keywords	cc	blockedby	blocking	branch_state	votes
1494	internal cd command is very limited	narcan		"Hello,
This is a Debian whislist bug:
http://bugs.debian.org/cgi-bin/bugreport.cgi?bug=520029

Thank you

Denis Briand


Robert Luberda wrote:
""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."""	enhancement	new	major	Future Releases	mc-core	4.7.0-pre1						no branch	
