zsh-users
 help / color / mirror / code / Atom feed
From: Zhao Li <zhao.li@startingspark.com>
To: Roman Perepelitsa <roman.perepelitsa@gmail.com>
Cc: Zsh Users <zsh-users@zsh.org>
Subject: Re: Prompt Issue
Date: Fri, 5 Jul 2019 01:05:41 -1000	[thread overview]
Message-ID: <CA+EEnTStdxY6hEX6hb+Gxz+O_u2TOuoM2zxH0NJ5XpqKrmGe5A@mail.gmail.com> (raw)
In-Reply-To: <CAN=4vMr8_6H9175VgE9bOqNrH0KQwpbiaOkM-QYwJxnj_=4eSQ@mail.gmail.com>

[-- Attachment #1: Type: text/plain, Size: 1221 bytes --]

wow thank you so much for taking the time to write your post. Your example
code to fix the problem along with explanation helps tremendously. I can
understand why %{...%} is helpful here
<https://github.com/robbyrussell/oh-my-zsh/issues/2314#issuecomment-32155974>
 (
https://github.com/robbyrussell/oh-my-zsh/issues/2314#issuecomment-32155974),
but not where I was using it in my prompt.

Thank you also for pointing me to gitstatus and your detailed example code
for that as well.

I think I'm finally at a good place with my prompt and using zsh with
oh-my-zsh.

My last remaining issue is with hyper.js not properly handling emoji's and
causing the prompt to be off by one character
<https://github.com/zeit/hyper/issues/3516> (
https://github.com/zeit/hyper/issues/3516). Unless you know of some easy
fix for that as well, I'm going to just wait for hyper.js to fix that issue
ticket.

Thanks again for your time and effort.

On Thu, Jul 4, 2019 at 9:06 PM Roman Perepelitsa <
roman.perepelitsa@gmail.com> wrote:

> This is the problem:
>
>     PROMPT+='%{$(git_info)%}'
>
> Fix:
>
>    PROMPT+='$(git_info)'
>
> I've provided more details in
> https://github.com/robbyrussell/oh-my-zsh/issues/7945.
>
> Roman.
>
>>

  reply	other threads:[~2019-07-05 11:06 UTC|newest]

Thread overview: 6+ messages / expand[flat|nested]  mbox.gz  Atom feed  top
2019-07-05  1:15 Zhao Li
2019-07-05  7:05 ` Roman Perepelitsa
2019-07-05 11:05   ` Zhao Li [this message]
2019-07-05 11:58     ` Roman Perepelitsa
2019-07-06 15:52       ` Zhao Li
2019-07-05 17:20   ` Grant Taylor

Reply instructions:

You may reply publicly to this message via plain-text email
using any one of the following methods:

* Save the following mbox file, import it into your mail client,
  and reply-to-all from there: mbox

  Avoid top-posting and favor interleaved quoting:
  https://en.wikipedia.org/wiki/Posting_style#Interleaved_style

* Reply using the --to, --cc, and --in-reply-to
  switches of git-send-email(1):

  git send-email \
    --in-reply-to=CA+EEnTStdxY6hEX6hb+Gxz+O_u2TOuoM2zxH0NJ5XpqKrmGe5A@mail.gmail.com \
    --to=zhao.li@startingspark.com \
    --cc=roman.perepelitsa@gmail.com \
    --cc=zsh-users@zsh.org \
    /path/to/YOUR_REPLY

  https://kernel.org/pub/software/scm/git/docs/git-send-email.html

* If your mail client supports setting the In-Reply-To header
  via mailto: links, try the mailto: link
Be sure your reply has a Subject: header at the top and a blank line before the message body.
Code repositories for project(s) associated with this public inbox

	https://git.vuxu.org/mirror/zsh/

This is a public inbox, see mirroring instructions
for how to clone and mirror all data and code used for this inbox;
as well as URLs for NNTP newsgroup(s).