Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

Add setenv, getenv, and source-shell #35

Merged
merged 2 commits into from
Dec 1, 2017

Conversation

mnewt
Copy link
Contributor

@mnewt mnewt commented Dec 1, 2017

Added some commands

  • setenv: set environment variable (builtin)
  • getenv: get environment variable (builtin)
  • source-shell: run bash scripts and import the resulting environment variables into the closh environment (regular function)

Added tests and examples in guide.md

resulting environment variables into the closh environment)
@mnewt
Copy link
Contributor Author

mnewt commented Dec 1, 2017

Addresses #16

@dundalek
Copy link
Owner

dundalek commented Dec 1, 2017

Amazing, what a treat!

@dundalek dundalek merged commit 2400f15 into dundalek:master Dec 1, 2017
@mnewt mnewt mentioned this pull request Dec 6, 2017
@mnewt mnewt deleted the getenv-setenv branch March 12, 2018 22:49
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

Successfully merging this pull request may close these issues.

2 participants