Skip to content

Investigate use of eval to allow a callback to the current bash shell #19

@ltn100

Description

@ltn100

Might look something like this:

export PS1="\$(eval \$(/usr/local/bin/prompty \$?))"

Prompty would then output something like:

export SOMETHING=true; echo -n "*prompt*"

Would this allow for data to persist across prompty calls from the same shell session? Only one way to find out!

http://stackoverflow.com/questions/716011/why-cant-environmental-variables-set-in-python-persist

Metadata

Metadata

Assignees

Projects

No projects

Milestone

No milestone

Relationships

None yet

Development

No branches or pull requests

Issue actions