We read every piece of feedback, and take your input very seriously.
To see all available qualifiers, see our documentation.
There was an error while loading. Please reload this page.
1 parent 8b1f00e commit b0ab182Copy full SHA for b0ab182
src/filepath.sh
@@ -15,7 +15,7 @@ __enhancd::filepath::walk()
15
16
# __enhancd::filepath::get_parent_dirs does not return $PWD itself,
17
# so add it to the array explicitly
18
- dirs=( "${PWD}" $(__enhancd::filepath::get_parent_dirs "${1:-${PWD}}") )
+ IFS=$'\n' dirs=( "${PWD}" $(__enhancd::filepath::get_parent_dirs "${1:-${PWD}}") )
19
20
for dir in "${dirs[@]}"
21
do
0 commit comments