Skip to content
This repository has been archived by the owner on Jan 15, 2024. It is now read-only.

Improve performance #2

Open
puntonim opened this issue Oct 4, 2014 · 0 comments
Open

Improve performance #2

puntonim opened this issue Oct 4, 2014 · 0 comments

Comments

@puntonim
Copy link
Owner

puntonim commented Oct 4, 2014

Performance could be improved if the configuration were hard-coded in promptastic.py. Currently promptastic reads the configuration in config.py to display the enabled segments with the chosen theme's colors. This could be done better this way:

  • promptastic.py becomes a template, say promptastic.py.template
  • install.py creates the actual promptastic.py script out of that template by reading config.py and injecting only the enabled segments with hard-coded colors.
Sign up for free to subscribe to this conversation on GitHub. Already have an account? Sign in.
Projects
None yet
Development

No branches or pull requests

1 participant