Last active
February 2, 2021 01:11
-
-
Save lexbailey/6dc67d5b05ed69f8a646be1644d3ed1a 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
| echo 'ZWNobyAtIC0gLW4gIlxiYVxcbmBgIiB8IHNlZCAtRSAncy9eLipceDA4LipgYCQvZWNobyB4b25zaFxcbmRlZiBlbnZzZXQoYXJncyk6XFxuXFx0JHthcmdzWzBdfT1hcmdzWzFdXFxuYWxpYXNlc1siZW52c2V0Il09ZW52c2V0LztzL14uKmBgJC9lY2hvIGZpc2g7ZnVuY3Rpb24gZW52c2V0O3NldCAtZ3ggJGFyZ3ZbMV0gJGFyZ3ZbMl07ZW5kLztzL14tIC1uLiokL2VjaG8genNoO2VudnNldCgpeyBleHBvcnQgJDE9JDI7IH0vO3MvXi4qXHgwOGEkL3RwdXQgY3V1MTsgdHB1dCBjdXUxOyB0cHV0IGVkOyBlY2hvIHNoO2VudnNldCgpeyBleHBvcnQgJDE9JDI7IH0vO3MvXi4qXHgwOC4qJC9lY2hvIHRjc2g7YWxpYXMgZW52c2V0IHNldGVudi87cy9eLipiYS4qJC9lY2hvIGJhc2g7ZW52c2V0KCl7IGV4cG9ydCAkMT0kMjsgfS87L14kL2QnID4gdDsgc291cmNlIHQgfHwgLiAuL3Q7IHJtIHQK' | base64 -d > t; source t || . ./t | |
| # A sourceme file, just like the one that sets up your build environment for that project thingy, | |
| # except this one works in most shells, not just one shell | |
| # It can set environment variables with the envset command. It can also echo them. | |
| # ...and that's all it can do. Anything else is just not gonna work. | |
| # but if all you need to do is set env vars to constant strings, this works! | |
| # Just ignore that first line, don't worry about it. | |
| # What does it do? Makes envset work. How? ... that's not important :^) | |
| envset FOO "Success!" | |
| echo "$FOO" |
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment