diff --git a/autoenv.zsh b/autoenv.zsh index 1a01c07..2fb77ce 100644 --- a/autoenv.zsh +++ b/autoenv.zsh @@ -235,8 +235,7 @@ _autoenv_source() { # ${env_file:h}. fi - # Change to directory of env file, source it and cd back. - local new_dir=$PWD + # Source the env file. _autoenv_debug "== SOURCE: ${bold_color:-}$env_file${reset_color:-}\n PWD: $PWD" : $(( _autoenv_debug_indent++ )) source $env_file