summaryrefslogtreecommitdiff
path: root/zshfunc/md
diff options
context:
space:
mode:
Diffstat (limited to 'zshfunc/md')
-rw-r--r--zshfunc/md6
1 files changed, 6 insertions, 0 deletions
diff --git a/zshfunc/md b/zshfunc/md
new file mode 100644
index 0000000..1055e77
--- /dev/null
+++ b/zshfunc/md
@@ -0,0 +1,6 @@
+## vim:ft=zsh:foldmethod=marker
+
+md() {
+ DIR="$1"
+ mkdir "$1" && cd "$1"
+}