From: Andrew Lorimer Date: Thu, 14 Apr 2022 11:58:43 +0000 (+1000) Subject: add zsh alias for mkcd X-Git-Url: https://git.lorimer.id.au/dotfiles.git/diff_plain/64a1b85c2745bec211fe7185f1d2cb60496cb6f6?hp=e1322f25e68a986d5b169b10addfb3eb4a192ee2 add zsh alias for mkcd --- diff --git a/zsh/.zshrc b/zsh/.zshrc index 5e631ea..c8438e6 100755 --- a/zsh/.zshrc +++ b/zsh/.zshrc @@ -31,6 +31,17 @@ HIST_STAMPS="dd.mm.yyyy" DISABLE_UNTRACKED_FILES_DIRTY="true" +# plugins can be found in ~/.oh-my-zsh/plugins/* +plugins=(git) + +# load zmv +autoload -U zmv + +mkcd() { + mkdir "$1" + cd "$1" +} + # --- # Appearance # ---