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

Feature request - update host path from a chomp task #107

Open
zachsa opened this issue Mar 28, 2022 · 0 comments
Open

Feature request - update host path from a chomp task #107

zachsa opened this issue Mar 28, 2022 · 0 comments
Labels
enhancement New feature or request

Comments

@zachsa
Copy link
Collaborator

zachsa commented Mar 28, 2022

I was trying to update the $PATH variable from a chomp task, and found that chomp can't update my host $PATH from within a chomp task

[[task]]
name = 'update-hosts-path'
run = '''
  export "PATH=$PATH:$(pwd)/bin"
'''

This command runs successfully, but $(pwd)/bin is not added to my path

@zachsa zachsa added the enhancement New feature or request label Mar 28, 2022
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
enhancement New feature or request
Projects
None yet
Development

No branches or pull requests

1 participant