From 6b74246ced7b97b7ac12a6fddf43430d6985d1a7 Mon Sep 17 00:00:00 2001 From: Dimitris Marakomihelakis Date: Tue, 19 Jan 2021 12:11:58 +0200 Subject: [PATCH] Fix cd Added $dir to cd, redirects user back to previous diretory --- shellnotes.sh | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/shellnotes.sh b/shellnotes.sh index 44ffcf5..cbfba2f 100644 --- a/shellnotes.sh +++ b/shellnotes.sh @@ -53,7 +53,7 @@ function quickread() { else clear echo "No such note." - cd + cd $dir fi cd $dir }