8000 variable "hosts" in on.config masked by code · Issue #1 · tpo/on · GitHub
[go: up one dir, main page]
More Web Proxy on the site http://driver.im/
Skip to content
8000
variable "hosts" in on.config masked by code #1
Open
@tpo

Description

@tpo

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?

Metadata

Metadata

Assignees

No one assigned

    Labels

    No labels
    No labels

    Projects

    No projects

    Milestone

    No milestone

    Relationships

    None yet

    Development

    No branches or pull requests

    Issue actions

      0