fixes #343 by surrounding $HOME (which can have spaces) with quotations marks
This commit is contained in:
@@ -11,7 +11,7 @@ autoenv_init()
|
||||
typeset target home _file
|
||||
typeset -a _files
|
||||
target=$1
|
||||
home="$(dirname $HOME)"
|
||||
home="$(dirname "$HOME")"
|
||||
|
||||
_files=( $(
|
||||
while [[ "$PWD" != "/" && "$PWD" != "$home" ]]
|
||||
|
||||
Reference in New Issue
Block a user