Just run mcd foobar and you (try) to create the directory and enter it. IMO a nice shortcut.
mcd dir1 dir2 dir3
mkdir "dir1" "dir2" "dir3" cd "dir1" "dir2" "dir3"
command "directory1/sub directory" "directory2" $@ => directory1/sub directory directory2 "$@" => "directory1/sub directory" "directory2" "$*" => "directory1/sub directory directory2" )
Just run mcd foobar and you (try) to create the directory and enter it. IMO a nice shortcut.