From 5a594b71cff626d4d83e3f5ebcbeac4ea36bc0e1 Mon Sep 17 00:00:00 2001 From: Jon-William Lewis Date: Mon, 15 Feb 2016 15:20:32 -0600 Subject: [PATCH] Fixed a bug where the list function does not look in $NOTES_DIR --- src/includes/list.sns.sh | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/src/includes/list.sns.sh b/src/includes/list.sns.sh index 2869286..5a39dec 100644 --- a/src/includes/list.sns.sh +++ b/src/includes/list.sns.sh @@ -1,4 +1,4 @@ function list(){ # This function, given a folder, $NOTE, will list the contents of $NOTE. - ls "$NOTE" + ls "$NOTES_DIR/${NOTE%.*}" }