geometry-zsh / geometry

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

Prompt displays hostname after empty command #290

Closed mmathys closed 4 years ago

mmathys commented 4 years ago

Describe the bug When no command is entered and Enter is pressed, the host name is inserted. I assume this is a bug since users expect output of a command to appear one line below the entered command.

To Reproduce Steps to reproduce the behavior:

  1. Open new window
  2. Press Enter

Expected behavior A new line appeares without the hostname.

Screenshots Screenshot 2020-01-02 at 15 50 08

Desktop:

mmathys commented 4 years ago

I found the solution. The bug can be fixed by setting the variable GEOMETRY_INFO in .zshrc:

GEOMETRY_INFO=()

Apparently this behavior is done by design. Personally, I found it confusing.