From 109aa6b92de649551bf7e2d81b24ab1e7b930ac7 Mon Sep 17 00:00:00 2001 From: afeiship <1290657123@qq.com> Date: Wed, 8 Mar 2023 13:55:18 +0800 Subject: [PATCH] fix: add mkdir -p --- modules/_mkp.sh | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/modules/_mkp.sh b/modules/_mkp.sh index 6d67700..6c6fc31 100755 --- a/modules/_mkp.sh +++ b/modules/_mkp.sh @@ -1,5 +1,5 @@ #!/usr/bin/env bash function mkp() { - mkdir "$1" && cd "$1" + mkdir -p "$1" && cd "$1" }