mirror of
https://github.com/Cornelicorn/bullet-train.zsh.git
synced 2026-10-02 07:46:01 +02:00
Fixed highlighting tab completion without zsh-syntax-highlighting
When pressing tab on an incomplete command like 'l' or 'c' the commandline turns and stays green so even the output is colored green or the highlight of the suggestions swaps colors when tabbing through. This happens only if the zsh-syntax-highlighting plugin is not enabled. I fixed this by adding the missing %f in prompt_char().
This commit is contained in:
1 parent
831d3c8006
commit
b9f4fe7e83
1 file changed
+1
-1
@@ -404,7 +404,7 @@ prompt_char() {
|
||||
fi
|
||||
|
||||
if [[ $BULLETTRAIN_PROMPT_ROOT == true ]] then
|
||||
bt_prompt_char="%(!.%F{red}#.%F{green}${bt_prompt_char})"
|
||||
bt_prompt_char="%(!.%F{red}#.%F{green}${bt_prompt_char}%f)"
|
||||
fi
|
||||
|
||||
echo -n $bt_prompt_char
|
||||
|
||||
Reference in new issue
Block a user