From 5b4705fb493d02e5ea0c58131bd236942ac73f16 Mon Sep 17 00:00:00 2001 From: b4b4r07 Date: Sat, 17 Jun 2023 01:52:39 +0900 Subject: [PATCH] Do not quote multiple lines to deal as single line --- src/filepath.sh | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/src/filepath.sh b/src/filepath.sh index 6106f2b..e62b08c 100644 --- a/src/filepath.sh +++ b/src/filepath.sh @@ -15,7 +15,7 @@ __enhancd::filepath::walk() # __enhancd::filepath::get_parent_dirs does not return $PWD itself, # so add it to the array explicitly - dirs=( "${PWD}" "$(__enhancd::filepath::get_parent_dirs "${1:-${PWD}}")" ) + dirs=( "${PWD}" $(__enhancd::filepath::get_parent_dirs "${1:-${PWD}}") ) for dir in "${dirs[@]}" do