aboutsummaryrefslogtreecommitdiff
path: root/bash
diff options
context:
space:
mode:
Diffstat (limited to 'bash')
-rw-r--r--bash/bashrc.d/md.bash5
1 files changed, 5 insertions, 0 deletions
diff --git a/bash/bashrc.d/md.bash b/bash/bashrc.d/md.bash
new file mode 100644
index 00000000..d32cf488
--- /dev/null
+++ b/bash/bashrc.d/md.bash
@@ -0,0 +1,5 @@
+# mkdir(1) shortcut
+md() {
+ mkdir -p -- "$@"
+}
+