dotfiles/.config/shell/zshrc.d/6-mkcd.zsh

5 lines
81 B
Bash

#!/bin/zsh
# mkdir & cd
function mkcd() {
mkdir -p "$@" && cd "$_" || return
}