YANAGAWA Kazuhisa wrote:

How about ruby script only make a path to cd and do actual cd by shell
function or alias?  Namely:

     ~> function mcd () {cd `ruby /tmp/foo.rb`}
     ~> cat > /tmp/foo.rb


Thanks! This was a great idea! It solves my problem.

Thank you for the help!

Regards, Christian