New issue
Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.
By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.
Already on GitHub? Sign in to your account
Prompt corrupted during command completion (Mac, iTerm) #666
Comments
@thistlillo I got the same bug on a clean install today. The solution is indeed to set |
Thank you, I will do as you say. Sorry for not having tested that. I realized the positions of the two screenshots were inverted and modified my post to correct that. |
General information
prompts get corrupted during command completion
System report (output of
prompt_pure_system_report
):''
❯
1.22.0
1.8.6
typeset -g PROMPT=$'%F{${prompt_pure_colors[path]}}%~%f %}%(12V.%F{$prompt_pure_colors[virtualenv]}%12v%f .)%(?.%F{$prompt_pure_colors[prompt:success]}.%F{$prompt_pure_colors[prompt:error]})${prompt_pure_state[prompt]}%f %{%}'
typeset -g -A prompt_pure_colors=( [execution_time]=yellow [git:action]=yellow [git:arrow]=cyan [git:branch]=195 [git:branch:cached]=red [git:dirty]=218 [git:stash]=cyan [host]=242 [path]=195 [prompt:continuation]=242 [prompt:error]=red [prompt:success]=magenta [suspended_jobs]=red [user]=242 [user:root]=default [virtualenv]=195 )
export TERM=xterm-256color
export VIRTUAL_ENV_DISABLE_PROMPT=12
export CONDA_CHANGEPS1=no
Other information
I made a search here and could not find open issues related to this. I have found a similar question on Stackoverlow and tried the suggestion given there. I added:
to
~/.profile
, but with no effects.Besides the pure prompt, I have no other alternative prompts installed. The problem only occurs with pure.
I have:
I use pure only with iterm.
Problem description
When using pure prompt within iterm2, typing a command (e.g.
cd
) then TAB twice, the command name is left in the prompt and cannot be removed.This is what I mean (
cd
+tab
+tab
):This is what I see after typing "backspace" four times (or more):
Reproduction steps
My
.zshrc
:The text was updated successfully, but these errors were encountered: