davidjrice / prezto_powerline

Powerline-esque theme for Prezto ZSH
117 stars 31 forks source link

Prevent hiding of partial lines of output or previous command by the prompt #16

Open anokun7 opened 4 years ago

anokun7 commented 4 years ago

When the output of the previous command does not end with a newline, the prompt hides that output. You can however see it for a fraction of a second. This PR fixes that behavior. By default a ‘%’ is appended to the partial line output for a normal user (and a ‘#’ for root). This can be customized by setting the value of the env variable PROMPT_EOL_MARK