External Email - Use Caution
Hello Hossein, Not sure what you have set for your shell in terminal, but the default shell in Mac OS 10.15 is no longer bash but zsh instead. So first try running the bash shell, $ bash … then try again to do … $ export FREESURFER_HOME=/Applications/freesurfer$ source $FREESURFER_HOME/SetUpFreeSurfer.sh - R.
On Apr 1, 2020, at 02:35, Hossein Shooli <h.shooly@gmail.com> wrote:return: can only `return' from a function or sourced script
freesurfer@nmr.mgh.harvard.edu