geometry
brew install geometry
v2.2.0
ISC
Minimal, fully customizable and composable zsh prompt theme
6
30-day installs · #10084
17
90-day · #10220
77
365-day · #9894
990
★ GitHub stars · updated 1y ago
Runtime dependencies
GitHub topics
geometry
prompt
shell
theme
zsh
Links
- https://github.com/geometry-zsh/geometry
- GitHub: geometry-zsh/geometry
- Brew formula source: Formula/g/geometry.rb
Caveats
To activate Geometry, add the following to your .zshrc: source $HOMEBREW_PREFIX/opt/geometry/share/geometry/geometry.zsh
Raw metadata
{
"aliases": [],
"alternatives": [],
"build_dependencies": [],
"categories": [],
"caveats": "To activate Geometry, add the following to your .zshrc:\n source $HOMEBREW_PREFIX/opt/geometry/share/geometry/geometry.zsh\n",
"conflicts_with": [],
"dependencies": [
"zsh-async"
],
"deprecated": 0,
"deprecation_reason": null,
"desc": "Minimal, fully customizable and composable zsh prompt theme",
"disable_reason": null,
"disabled": 0,
"enrichment_fetched_at": "2026-06-20T23:37:58+00:00",
"first_seen": "2026-06-20T23:34:18+00:00",
"full_name": "geometry",
"github_default_branch": "main",
"github_last_commit_at": "2025-01-13T16:25:54Z",
"github_readme_excerpt": "# geometry\n\n\n\n\u003e a minimalistic, fully customizable zsh prompt theme\n\ngeometry starts small, with reasonable defaults, and allows you to customize it at your own will.\nIt can be as simple or complex as you like.\n\nIf you have a question, suggestion, or request please [open an issue][] and be sure to check out [our contribution guide][]\n\n## What it does\n\nAll geometry does is run simple functions to customize the left and right prompts.\n\nWe bundle a few useful functions to start with, that can:\n\n- give you a custom colored prompt symbol\n- change the prompt symbol color according to the last command exit status\n- make the prompt symbol color change with your hostname\n- display current git branch, state and time since latest commit\n- tell you whether you need to pull, push or if you\u0027re mid-rebase\n- display the number of conflicting files and the total number of conflicts\n- display if there is a stash\n- display the running time of long-running commands\n- set the terminal title to current command and directory\n- make you the coolest hacker in the whole Starbucks\n\nThe right side prompt prints asynchronously, so you know it\u0027s going to be fast\u2122.\n\nGeometry also has a secondary prompt that shows up when pressing enter with an empty command, which you can configure with `GEOMETRY_INFO`.\n\n## Installing\n\ntool | add to `.zshrc`\n--------------|--------------------------------------\n[zr][] | `zr geometry-zsh/geometry`\n[zplug][] | `zplug \"geometry-zsh/geometry\"`\n[antigen][] | `antigen theme geometry-zsh/geometry`\n[Homebrew][] | `brew install geometry`\n[zi][] | `zi lucid for atload\"!geometry::prompt\" geometry-zsh/geometry`\n**manually** | `source geometry/geometry.zsh` (after `git clone https://github.com/geometry-zsh/geometry`)\n\n## Functions\n\n\n\nGeometry displays output in several places. The output displayed",
"github_repo": "geometry-zsh/geometry",
"github_stars": 990,
"github_topics": [
"geometry",
"prompt",
"shell",
"theme",
"zsh"
],
"homepage": "https://github.com/geometry-zsh/geometry",
"homepage_og_description": null,
"homepage_og_image": null,
"homepage_title": null,
"installs_30d": 6,
"installs_365d": 77,
"installs_90d": 17,
"keg_only": 0,
"keg_only_reason": null,
"last_seen": "2026-06-20T23:34:18+00:00",
"license": "ISC",
"llm_generated_at": null,
"llm_model": null,
"name": "geometry",
"oldnames": [],
"one_liner": null,
"optional_dependencies": [],
"rank_30d": 10084,
"rank_365d": 9894,
"rank_90d": 10220,
"raw_hash": "08ef5f54f3b54c75",
"recommended_dependencies": [],
"revision": 0,
"ruby_source_path": "Formula/g/geometry.rb",
"tap": "homebrew/core",
"test_dependencies": [],
"uses_from_macos": [
{
"zsh": "test"
}
],
"version_head": "HEAD",
"version_stable": "2.2.0",
"versioned_formulae": [],
"why_use_this": null
}