i know what you mean. this is a systemwide “issue” which doesn’t has a solution yet, as far as i know. here is another topic on the same topic:
he only workaround i could think about is to make a shell script in your space directory, which when executed, it get’s some environmental variables, and you could intercept this variable as string into your command.