The current upstream master approach seems to work (tested in schroot):
``` $ cat user-env.sh #!/bin/bash -i unset HISTFILE #/bin/bash -l -c "/usr/bin/python3 -c 'import os; print(dict(os.environ))'" /bin/bash -l -c env | grep PATH $ ./user-env.sh PATH=/usr/local/bin:/usr/bin:/bin ```
The current upstream master approach seems to work (tested in schroot):
``` os.environ) )'" local/bin: /usr/bin: /bin
$ cat user-env.sh
#!/bin/bash -i
unset HISTFILE
#/bin/bash -l -c "/usr/bin/python3 -c 'import os; print(dict(
/bin/bash -l -c env | grep PATH
$ ./user-env.sh
PATH=/usr/
```