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

6 lines
81 B
Bash

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