geometry-zsh / geometry

geometry is a minimal, fully customizable and composable zsh prompt theme
ISC License
921 stars 94 forks source link

Look at putting all non-user-visable environment variables in a map #270

Closed jedahan closed 4 years ago

jedahan commented 4 years ago

As per https://github.com/geometry-zsh/geometry/issues/269#issuecomment-529717048 , I wouldn't mind moving the following to GEOMETRY[$key] or serialize/deserialize

GEOMETRY_TIME_COLOR_SHORT
GEOMETRY_TIME_COLOR_NEUTRAL
GEOMETRY_TIME_COLOR_LONG
GEOMETRY_ROOT
GEOMETRY_EXEC_TIME_PATIENCE
GEOMETRY_EXEC_TIME_FILE
GEOMETRY_LAST_STATUS
PCFD
jedahan commented 4 years ago

That would leave the following global user-visible environment variables:

GEOMETRY_PROMPT
GEOMETRY_RPROMPT
GEOMETRY_INFO
GEOMETRY_SEPARATOR