From 1f382aaad311ffb367725e9a2dc02fe321a0d9e1 Mon Sep 17 00:00:00 2001 From: CronyAkatsuki Date: Mon, 8 Jan 2024 16:17:06 +0100 Subject: [PATCH] Fix up the mvln script. --- .config/zsh/functions.zsh | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/.config/zsh/functions.zsh b/.config/zsh/functions.zsh index d76b1dc..af2fc0d 100755 --- a/.config/zsh/functions.zsh +++ b/.config/zsh/functions.zsh @@ -13,7 +13,7 @@ md () { mvln () { from=$(readlink -f $1) to="$2" - [ ! -d "$(dirname $to)" ] && mkdir "$(dirname $to)" + [ ! -d "$(dirname $to)" ] && mkdir -p "$(dirname $to)" mv $from $to ln -s $to $from }