Skip to content

Commit

Permalink
Fix #11
Browse files Browse the repository at this point in the history
  • Loading branch information
grigorii-horos committed Jul 19, 2017
1 parent 1194d15 commit 5f13f2a
Showing 1 changed file with 5 additions and 7 deletions.
12 changes: 5 additions & 7 deletions autoenv.plugin.zsh
Original file line number Diff line number Diff line change
Expand Up @@ -103,13 +103,11 @@ autoenv_init(){

}

#if [[ -f "./$AUTOENV_IN_FILE" ]]
#then
# check_and_exec "./$AUTOENV_IN_FILE"
#fi

() {
_autoenv_first_run(){
local OLDPWD='/'
autoenv_init
precmd_functions=(${precmd_functions#_autoenv_first_run})
}
chpwd_functions+=( autoenv_init )

precmd_functions+=(_autoenv_first_run)
chpwd_functions+=(autoenv_init)

0 comments on commit 5f13f2a

Please sign in to comment.