I noticed that there are two ways of setting the foreground color in your zsh
prompt.
PROMPT='%F{blue}$'
PROMPT='%{$fg[blue]%}$'
Both of these lines will produce a blue $
as your prompt. Is there any difference between these two and is there a preferred way of setting your prompt?
If you want to specify a color code, you can do $F{160}
or some other number but you can't for %{$fg[160]%}
. Is this the only difference between these two options?