geometry-zsh / geometry

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

Decide on function naming conventions #232

Closed jedahan closed 5 years ago

jedahan commented 5 years ago

For defining functions, we use name () and function name forms.

For naming functions, we use _geometry_ prefix and snake_case, -geometry- with kebab-case, sometimes no prefix, etc.

It would be nice to decide on when and where we need to prefix, and if its helpful or not.

My preference is that all functions be as short but descriptive as possible, and written snake_case(). If a function leaks into the environment it should be prefixed as geometry_ to not conflict with anything else.