-
Notifications
You must be signed in to change notification settings - Fork 33
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
Multiple ZSH prompts with dotphiles theme #12
Comments
How strange, dont think I've ever noticed anything like that.... Can you post the following?? echo $PS1 Should be able to figure out whats happening then...maybe :) |
Here you go: *❯❯ *echo $PS1 %{$MAINPROMPT%}%{$prompt_detail%}%{$prompt_seperator%} $SUBPROMPT
%(!.%U%{%}.%{%})%n%u%{%} on %{%}ubuntu%u%{%} in %{*%}%5~ *
%{%{%}❮%{%}git%{%}:%{%}master%{%}▸%{%}origin/master%{%}%{%}❯ %}
${editor_info[keymap]}${editor_info[overwrite]}${VIM:+" nbellowe* on ubuntu in *_~/sync/cs2400/perf ❮git:_master▸origin/master
86 |
I figured something out! If I enter the command COLUMNS=80 it resets the prompt to normal. If I Hence $COLUMNS is triggering something... On Tue, Mar 24, 2015 at 11:48 PM, Nathan Bellowe nbellowe@gmail.com wrote:
|
COLUMNS should be set to the width of your terminal....if its over 80, then it includes all the 'extras', otherwise just the basic prompt...what terminal are you using? I cant seem to replicate it under iterm2 or terminal on osx. |
I'm just in terminal. Any more ideas on where to check? |
Try my fork of all of dotphiles, and lets see if that reproduces it on another computer. |
I'll have a look this evening and clone your repo, also just seen https://bugs.debian.org/cgi-bin/bugreport.cgi?bug=97880 which sounds the same...I'm using zsh 5.0.7 from homebrew, what version do you have installed....just been trying it out with a git stash to see if thats related..i very rarely stash anything. Will let you know if I find anything. |
Please do, I will let you know if I figure it out.
|
Sometimes, randomly -- after I've been using dotphiles's theme working properly for a while, this happens.
I'm not sure how to debug it. It looks like two prompts are created when I'm in half screen, but when I expand it out, it shows that its actually one prompt
Once it happens once, it happens over and over again, and sometimes gets bigger.
Again, looks like seperate lines, but isn't, here is the same screen in a wider view.
It resets on starting a new terminal, and I can't find a single cause.
Any suggestions of what I can do to figure out why it is happening?
The text was updated successfully, but these errors were encountered: