geometry-zsh / geometry

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

Investigate non-pty async for rprompt #254

Closed jedahan closed 5 years ago

jedahan commented 5 years ago

From http://www.zsh.org/mla/users/2018/msg00424.html and https://github.com/mafredri/zsh-async/issues/24

jedahan commented 5 years ago

test version https://github.com/jedahan/geometry/pull/new/simple-async

has some weirdness & possible slowdowns, but really nice to not need zsh-async

scottstanfield commented 5 years ago

I'm taking it for a spin now.

jedahan commented 5 years ago

cool, did it work?

scottstanfield commented 5 years ago

Yes, with the exception of one weird issue. Hitting at the prompt, without typing anything, echo's my login name and machine name, then gives me a new prompt.

Recording: https://asciinema.org/a/bHqGPntVSKrR7HjFqNZKoEfdA

scottstanfield commented 5 years ago

If I set GEOMETRY_INFO=(geometry_jobs) the geometry_hostname goes away on an empty line. So not an issue with your changes. So far so good!