From b9ae8de85039a88fb69df3e188560904fec39463 Mon Sep 17 00:00:00 2001 From: dmarakom6 Date: Mon, 18 Jan 2021 13:21:55 +0200 Subject: [PATCH] Changed shebang Changed shebang with a more portable one. --- shellnotes.sh | 6 +++--- 1 file changed, 3 insertions(+), 3 deletions(-) diff --git a/shellnotes.sh b/shellnotes.sh index 0103e08..5e4c428 100644 --- a/shellnotes.sh +++ b/shellnotes.sh @@ -53,7 +53,7 @@ function quickread() { else clear echo "No such note." - cd $dir + cd ~ fi cd $dir } @@ -72,7 +72,7 @@ if [ -e $notename ]; then else touch $notename - $QUICK_NOTES_EDITOR ./$notename + $QUICK_NOTES_EDITOR $notename cd $dir clear echo "Note created in Home/$me/Notes" @@ -219,7 +219,7 @@ function renamenote() { echo "There is another note named '$newnotename' in your Notes folder." else mv $notename $newnotename - clear + clear; echo "Note renamed from $notename to $newnotename in Home/$me/Notes" echo "-------------------------------------------------------------" fi