You're exporting in a subshell (because shell scripts are run in a child process, unless you exec it, which you probably don't want to do ^^), and expecting to see that propagated in the parent shell. An export propagates the var to the env of the current process and its *children*, not its parent

.
If you want to modify your current shell's env from a file or something, source something, don't run a script

.
In your case:
custom_env
Code:
PATH="/home/bin:/home/lib:/home/include:/home/share:${PATH}"
LD_LIBRARY_PATH="/home/usr/lib:/home/lib:/lib:/usr/lib"
source custom_env
Should do what you expect

.
(Note that in most shells,
. is an alias for
source, so you can do
. custom_env, too

)