Function definition file not found

can you please help me solve this problem? Everytime I tried to install application, it shows me that and then installer file quit.

MacBook Pro 13″, macOS 12.1

Posted on Apr 8, 2022 5:29 PM

Reply
1 reply

Apr 9, 2022 7:09 AM in response to AustinHaw

Apple's /bin/zsh automatically knows where its site functions are located and will show you via:


echo $FPATH


/usr/local/share/zsh/site-functions:/usr/share/zsh/site-functions:/usr/share/zsh/5.8/functions


I have never set the FPATH variable in my ~/.zshrc, and use the default Zsh v5.8, not the v5.8.1.


However, if you are using Zsh v5.8.1 as your default shell which you added via a package manager (e.g. homebrew), and on an M1 Mac, the functions and site functions are located in /opt/homebrew/share/zsh folder — which is not on the above FPATH search.

This thread has been closed by the system or the community team. You may vote for any posts you find helpful, or search the Community for additional answers.

Function definition file not found

Welcome to Apple Support Community
A forum where Apple customers help each other with their products. Get started with your Apple Account.