Closed henry40408 closed 8 years ago
Can you rebase your branch so i can merge it?
@caiogondim sorry for messing up, now the branch is able to be merged.
I cannot test anymore.
sleep 6
is not working to show the segment.
And cmd_elapsed
is empty for me.
Can you make sure it is working?
And there is a regression as well, as @dbkaplun commented on #108
this is the commit which the bug has been fixed: https://github.com/henry40408/bullet-train-oh-my-zsh-theme/commit/64a09b7049ec6b9510c26e1ce088cd64e0ba8c04
the following is a screenshot of bug-fixed version
does "regression" mean that I should not change the color combination? sorry for my bad English
@henry40408 You never have to ask sorry for mistakes while speaking your non-native language =) By regression i meant a bug; a commit that made a feature stop working (https://en.wikipedia.org/wiki/Software_regression).
I will test your branch again and will use for the coming days to check if everything is ok.
Will let you know.
Getting this error on my other laptop
Using zsh 5.2 (x86_64-apple-darwin15.0.0)
@caiogondim it seems that add-zsh-hook
is provided by a user-contributed plugin.
I upgrade my zsh to 5.2, remove all zsh plugins but the theme to reproduce the bug.
To fix the bug, I replace them with built-in hook functions.
@dbkaplun is the same bug you encountered?
@henry40408 I didn't encounter any bug, I just saw that your code replaces the color-configurable logic with older logic. Looks like a merge conflict was incorrectly resolved.
@dbkaplun you mean this commit https://github.com/henry40408/bullet-train-oh-my-zsh-theme/commit/3687f260c847deef98ba8892681dda68c2b75100?
I don't know which commit it was but if you look at this PR's diff you'll see that $BULLETTRAIN_EXEC_TIME_BG
and $BULLETTRAIN_EXEC_TIME_FG
were removed (probably unintentionally).
@dbkaplun I remove them accidentally when refactoring, I added them back.
OK. I don't have enough context on your changes so I can't review it in depth. Sorry bro.
Closing this PR since in the current code it's already fixed and the colours are now parameterised.
quick fix of #106
The combination I used comes from
prompt_virtualenv
, so I change it as well.The color schema I currently use: Tomorrow Eighties