-
Notifications
You must be signed in to change notification settings - Fork 423
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
Default prompts for execution time and plugged in status not correct on macOS Sierra #481
Comments
Could you tell me the bash versions on each machines? |
I'm having a similar problem with liquidprompt showing the time since the shell started rather than the time spent executing the last command, but I'm running El Capitan. I installed liquidprompt with homebrew:
I'm running bash version $ echo $BASH_VERSION
3.2.57(1)-release on iTerm2 build 3.0.12 on El Capitan version 10.11.6 (15G1108). |
This is also not working for me on Sierra 10.12.5 (16F73) using either the built-in 3.2.57(1)-release version of bash or 4.4.12(1)-release version installed through homebrew. |
I just tested #476 and it appears to fix the plugged-in status for me. |
@asnr Try |
Thanks for the tip @augmentedfourth. I've done what you said:
I'm still not getting any battery status, and the problem with the time between commands persists. These are some of my current environment:
I'm running this on iTerm2 build 3.1.5 on macOS Sierra 10.12.6 (16G1036). At 49% charge running off battery, this is what my prompt looks like:
(Note I pressed enter several times in quick succession but the timer keeps incrementing rather than resetting.) |
Timing issues with the same symptoms described here are a common issue. Make sure you follow this comment if you are setting If this turns out to be the cause, that's at least four tickets with the same user error. Maybe we should add it as an FAQ. |
Thank you @Rycieos, that was it! It took a little while to figure out, because Adding it to the FAQ isn't a bad idea. It might be worth mentioning explicitly in the README, under the heading 'Test drive and installation', say in the paragraph starting with 'To use it every time you start a shell, add the following lines to your |
Resolves liquidprompt#476 and partially addresses liquidprompt#481
Shell: bash/zsh
Operating system: macOS Sierra
Liquid Prompt version (tag, commit): 9c1c8a3
I have two MacBook Pros, one with OS X El Capitan (version 10.11.6) and one with macOS Sierra (10.12.1).
I have the same Liquid Prompt version on both machines and both are configured the same in my
~/.bash_profile
. I haven't changed anything in the liquidprompt source tree. Everything works great on El Capitan. However, on macOS Sierra, the prompts are wrong.macOS Sierra seems to add the time between commands rather than just showing how long it took to execute the last one. Also, it doesn't show that I'm plugged in. For example:
The text was updated successfully, but these errors were encountered: