From a31401bd773d8f4363198f107b37fc8d4b160978 Mon Sep 17 00:00:00 2001 From: Marc Beninca Date: Sat, 16 Nov 2024 16:02:25 +0100 Subject: [PATCH] md,mdp --- shell/alias/mkdir.sh | 16 +++++++++------- 1 file changed, 9 insertions(+), 7 deletions(-) diff --git a/shell/alias/mkdir.sh b/shell/alias/mkdir.sh index 52745dd..961e14b 100644 --- a/shell/alias/mkdir.sh +++ b/shell/alias/mkdir.sh @@ -1,10 +1,12 @@ # make a directory -alias md="\ -mkdir \ -" +md() { + mkdir \ + "${@}" +} # make a directory after making its parents -alias mdp="\ -mkdir \ ---parents \ -" +mdp() { + mkdir \ + --parents \ + "${@}" +}