From 64a1b85c2745bec211fe7185f1d2cb60496cb6f6 Mon Sep 17 00:00:00 2001 From: Andrew Lorimer Date: Thu, 14 Apr 2022 21:58:43 +1000 Subject: [PATCH 1/1] add zsh alias for mkcd --- zsh/.zshrc | 11 +++++++++++ 1 file changed, 11 insertions(+) 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 # --- -- 2.47.1