From 0f4bd2be8540ec9a06049055dfa940474edb82b9 Mon Sep 17 00:00:00 2001 From: Marc Beninca Date: Mon, 18 Nov 2024 16:27:41 +0100 Subject: [PATCH] mkdir --- sh/alias/mkdir.sh | 6 ++++-- 1 file changed, 4 insertions(+), 2 deletions(-) diff --git a/sh/alias/mkdir.sh b/sh/alias/mkdir.sh index 961e14b..ae8ac4b 100644 --- a/sh/alias/mkdir.sh +++ b/sh/alias/mkdir.sh @@ -1,11 +1,13 @@ # make a directory -md() { +md() { sh_a__make_directory "${@}"; } +sh_a__make_directory() { mkdir \ "${@}" } # make a directory after making its parents -mdp() { +mdp() { sh_a__make_directory_parents "${@}"; } +sh_a__make_directory_parents() { mkdir \ --parents \ "${@}"