expansion of ~/ and $SHELL_VARIABLE in source paths