Skip to content

add curdir to sys.path #12

@casperdcl

Description

@casperdcl

Consider not needing to alter PYTHONPATH to expose scripts/packages in the current working directory

$ ls
script.py
$ shtab -u script.parser > script_completion.sh
...
ModuleNotFoundError: No module named 'script'
$ PYTHONPATH=. shtab -u script.parser > script_completion.sh  # works

Metadata

Metadata

Assignees

Labels

Type

No type

Projects

No projects

Milestone

No milestone

Relationships

None yet

Development

No branches or pull requests

Issue actions