OS X: update_terminal_cwd not found

-bash: LP_DWIN_KERNEL_REL_VER: command not found
-bash: update_terminal_cwd;: command not found