mms on Nostr: Justine Smithies my .zshrc has setopt PROMPT_SUBST UNAME_PROMPT=%{$fg[red]%} ...
Justine Smithies (nprofile…t4qe) my .zshrc has
setopt PROMPT_SUBST
UNAME_PROMPT=%{$fg[red]%}
HOST_PROMPT=%{$fg[yellow]%}
PATH_PROMPT=%{$fg[magenta]%}
RESET_PROMPT_COLOR=%{$reset_color%}
zstyle ':vcs_info:git:*' formats '[%b]'
PROMPT='[${UNAME_PROMPT}%n${RESET_PROMPT_COLOR}@${HOST_PROMPT}%m${PATH_PROMPT} %3~%{$RESET_PROMPT_COLOR%}]${vcs_info_msg_0_} %{$reset_color%}$%b '
I hated when I first stole it, I hated when I modified it and I hate it still ;-)
Is it better in (o)ksh??
setopt PROMPT_SUBST
UNAME_PROMPT=%{$fg[red]%}
HOST_PROMPT=%{$fg[yellow]%}
PATH_PROMPT=%{$fg[magenta]%}
RESET_PROMPT_COLOR=%{$reset_color%}
zstyle ':vcs_info:git:*' formats '[%b]'
PROMPT='[${UNAME_PROMPT}%n${RESET_PROMPT_COLOR}@${HOST_PROMPT}%m${PATH_PROMPT} %3~%{$RESET_PROMPT_COLOR%}]${vcs_info_msg_0_} %{$reset_color%}$%b '
I hated when I first stole it, I hated when I modified it and I hate it still ;-)
Is it better in (o)ksh??