add zsh alias for mkcd
authorAndrew Lorimer <andrew@lorimer.id.au>
Thu, 14 Apr 2022 11:58:43 +0000 (21:58 +1000)
committerAndrew Lorimer <andrew@lorimer.id.au>
Thu, 14 Apr 2022 11:58:43 +0000 (21:58 +1000)
zsh/.zshrc
index 97f78e094f1f3e40e54f418487ed356a2f768857..dc0d22bd771dc2841d9e67b41b427004b596de29 100755 (executable)
@@ -50,6 +50,11 @@ plugins=(git)
 # load zmv
 autoload -U zmv
 
+mkcd() {
+  mkdir "$1"
+  cd "$1"
+}
+
 # ---
 # Appearance
 # ---