This commit is contained in:
Marc Beninca 2024-11-18 16:27:41 +01:00
parent 63efbb7028
commit 0f4bd2be85
Signed by: marc.beninca
GPG key ID: 9C7613450C80C24F

View file

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