pico-setup
pico-setup copied to clipboard
Write env-vars to ~/.profile instead of ~/.bashrc
Fixes #13 and #12
There's also no need for source since we've already done export!
Does this work better for you now @bablokb ?
yes, this fixes #12
This PR is superseded by #20?
There's also no need for
sourcesince we've already doneexport!
And I've just remembered that this only sets the variables in the shell-instance in which the script is running, and they don't propagate back up to the parent shell that actually invoked the script :wink: (a subshell can't modify the environment of its parent shell)