dotfiles/fish/.config/fish/functions/mkdcd.fish

Ignoring revisions in .git-blame-ignore-revs. Click here to bypass and see the normal blame view.

7 lines
145 B
Fish
Raw Normal View History

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