]> Sergey Matveev's repositories - zsh-autoenv.git/commitdiff
minor: doc
authorDaniel Hahler <git@thequod.de>
Thu, 23 Apr 2015 13:11:05 +0000 (15:11 +0200)
committerDaniel Hahler <git@thequod.de>
Thu, 23 Apr 2015 13:11:05 +0000 (15:11 +0200)
autoenv.zsh

index 1a01c0731d436d9ad4be46b46b9b28104b945519..2fb77ce966da17e50d20e7000216e59e307e6dcd 100644 (file)
@@ -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