Skip to content

u/jedahan

In this archive from Dec 2010 to Dec 2019

4
posts
14
comments
3
media
90
score
1 saved before deletion

Top posts

Top comments

geometry is a zsh prompt that is simple, fast, and easy to customize.

After a year of testing, we are happy to release geometry v2. Version 2 is a a complete rewrite of geometry that is easier to customize, is less than half the size, and has dozens of fixed bugs.

Any function that prints to standard out can be added to the left or right prompt, or the default 'enter' command. The right prompt renders asynchronously, so place long-running commands in the GEOMETRY_RPROMPT array.

geometry ships with 16 functions that only show up when appropriate - for example when in a git repo or using a non-default virtualenv for python.

More details and screenshots are in the readme, and any feedback is appreciated.

5 points

Subreddits

Keyboard shortcuts

Move and act

jork
Next / previous post or comment
Enteroro
Open the post
f
Open the media viewer
s
Save
h
Hide (the toast has Undo)
Tab
Right after an action: the toast's Undo
x
Collapse the comment
v
Next layout: cards, compact, grid

Go to

/
Search
gthenh
Home
gthena
All
gthens
Subreddits
gthenl
Library
?
This list
Esc
Close a menu or this list

In the viewer

←or→
Previous / next file
↑or↓
Previous / next post
korj
Previous / next post
Space
Play / pause
m
Mute
z
Zoom
s
Save
o
Open the post (on its own page: back to it)
Esc
Close

Keys do nothing while you type in a box.