Created
January 20, 2022 19:28
-
-
Save EricCousineau-TRI/c9b9238c410408afafa2e160412dd9c7 to your computer and use it in GitHub Desktop.
This file contains hidden or bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
| #!/bin/bash | |
| shopt -s expand_aliases # only necessary if using in script | |
| alias env-isolate='env -i HOME=$HOME DISPLAY=$DISPLAY SHELL=$SHELL TERM=$TERM USER=$USER PATH=/usr/local/bin:/usr/bin:/bin _ISOLATED=1' | |
| alias bash-isolate='env-isolate bash --norc' |
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment