Bug fix shellcheck lint fixes that exited the shell instead of returning an error code from functions on change directory.
Bug fix shellcheck lint fixes that exited the shell instead of returning an error code from functions on change directory.

rgant/homedir,rgant/homedir,rgant/homedir