7 lines
145 B
Fish
7 lines
145 B
Fish
|
function mkdcd -d "Create a new directory and immediately cd into it"
|
||
|
mkdir -p -- $argv
|
||
|
if test $status = 0
|
||
|
cd $argv
|
||
|
end
|
||
|
end
|