function mcd -d "Create directory and cd to it" mkdir $argv[1] cd $argv[1] end