From 1ad9effcdc6859439db1c90cc1da6cffe37a7605 Mon Sep 17 00:00:00 2001 From: noeliajimenezg <37051537+noeliajimenezg@users.noreply.github.com> Date: Thu, 11 Dec 2025 00:07:23 +0100 Subject: [PATCH] Allow path with spaces in note command creation --- scripts/editnote | 6 +++--- 1 file changed, 3 insertions(+), 3 deletions(-) diff --git a/scripts/editnote b/scripts/editnote index ae4bee0..bfbdfe2 100755 --- a/scripts/editnote +++ b/scripts/editnote @@ -3,10 +3,10 @@ # Usage if [ $# -eq 3 ]; then - if [ ! -e $1 ]; then - echo "* [ ] $2 #$3" > $1 + if [ ! -e "$1" ]; then + echo "* [ ] $2 #$3" > "$1" fi - $EDITOR $1 + $EDITOR "$1" else echo "Usage: $0 " fi