Last active
January 28, 2025 15:42
-
-
Save simonLeary42/76baa6a37dcf19f158e0e42501dfd1db 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/env -iS PATH=/bin bash --noprofile --norc -eou pipefail | |
HOME=~ | |
# this will fubar your environment and maybe kill your shell if you source it | |
if (return 0 2>/dev/null); then | |
echo "do not source this script! execute it as its own process." | |
return 1 | |
fi |
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment