]> Sergey Matveev's repositories - zsh-autoenv.git/blobdiff - tests/setup.zsh
Handle `setopt shwordsplit` (#89)
[zsh-autoenv.git] / tests / setup.zsh
index 0bbdbafa74ad8d9b7572b6b6bbae141d1512cef0..02f41b3790129b13cfd974fa7a19fbd06c06851a 100644 (file)
@@ -28,6 +28,7 @@ fi
 
 # Add file ($1), version ($2), and optional hash ($3) to authentication file.
 test_autoenv_add_to_env() {
+  emulate -L zsh
   [[ -d ${AUTOENV_AUTH_FILE:h} ]] || mkdir -p ${AUTOENV_AUTH_FILE:h}
   _autoenv_deauthorize $1
   {