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

variable "hosts" in on.config masked by code #1

Open
tpo opened this issue Sep 22, 2015 · 0 comments
Open

variable "hosts" in on.config masked by code #1

tpo opened this issue Sep 22, 2015 · 0 comments

Comments

@tpo
Copy link
Owner

tpo commented Sep 22, 2015

When I use the variable "hosts" in on.config:

$ cat ~/.on.config
hosts="foo bar"

then that variable is not available for me afterwards:

$ on hosts list
$

and that's because that variable is being used by the "on" script internally by itself.

Idea: review code an replace all variables and functions with "on_$name" variants and document that as a "forbidden" namespace?

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

No branches or pull requests

1 participant