Yes, $0it will always contain the name of the script. Use basename to retrieve the name.
basename /some/really/long/dir/path/myscripts/coolscript.sh will print coolscript.sh
So in your script you can do this:
my_scriptname="$(basename $0)"
source
share