Skip to content

Commit

Permalink
Do not quote multiple lines to deal as single line (#210)
Browse files Browse the repository at this point in the history
  • Loading branch information
b4b4r07 authored Jun 16, 2023
1 parent b911969 commit 007c28d
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion src/filepath.sh
Original file line number Diff line number Diff line change
Expand Up @@ -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
Expand Down

0 comments on commit 007c28d

Please sign in to comment.