in ksh:
# in anydirectory exists a file anyfunction containing:
# anyfunction ()
# {
# date
# }
#
FPATH=anydirectory
typeset -f -u anyfunction
anyfunction # anyfunction is now autoloaded and executed!
in zsh:
# in anydirectory exists a file anyfunction containing:
# anyfunction ()
# {
# date
# }
#
FPATH=anydirectory
typeset -f -u anyfunction
anyfunction # anyfunction is only loaded this time
anyfunction # anyfunction is executed 1st time
What is the reason for this incompatibility between ksh and zsh 2.5.03 ?
--
_/_/_/ _/ _/ _/
_/ _/ _/ _/_/ _/
_/ _/ _/ _/ _/_/
_/_/_/ _/ _/ _/
---------------------------------------------------------------------------
Franz Schmausser VOICE +49 89 636 49764 ... waiting for the prompt ...
---------------------------------------------------------------------------