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 \ "${@}"