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?ds=sidebyside 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 # ---