]> Sergey Matveev's repositories - zsh-autoenv.git/blobdiff - autoenv.zsh
_autoenv_get_file_upwards: do not dereference symlinks (#73)
[zsh-autoenv.git] / autoenv.zsh
index 4ccc9ae8076de04dac7ea60b2d62d78dd352447b..2deac546596dda7728b1934d1602bcf39ffbbd5d 100644 (file)
@@ -339,7 +339,7 @@ _autoenv_get_file_upwards() {
       if [[ ${parent_file[1,2]} == './' ]]; then
         echo ${parent_file#./}
       else
-        echo ${parent_file:A}
+        echo ${parent_file:a}
       fi
       break
     fi