bash: added bash version info exports
bash: improved opt set direxpand decision