This is the code add it at the end of your prompt:
function thunder() { echo "%(?,%{$fg_bold[grey]%}⚡%{$reset_color%},%{$fg_bold[yellow]%}⚡%{$reset_color%})" }
This is the code add it at the end of your prompt: