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