X-Git-Url: https://git.sev.monster/~sev/dotfiles.git/blobdiff_plain/f7960c6956325bd800ce90fe2d099fa2fe761e70..c5497cbe65a6309c444a0a5f162df8b9b895abd6:/base/.zshrc diff --git a/base/.zshrc b/base/.zshrc index 2dd25ff..2486de7 100644 --- a/base/.zshrc +++ b/base/.zshrc @@ -52,12 +52,13 @@ if [[ "$OSTYPE" =~ '^freebsd' ]] { ### prompt setopt prompt_subst local f= -if [[ "$OSTYPE" = "netbsd" && ( "$TERM" = "wsvt25" || "$TERM" =~ '^vt' ) ]] { - # fix for wscons - f="%F{white}" -} else { +#XXX: can't think of a way to tell if ssh client is on wscons, just kludge 24/7 +#if [[ "$OSTYPE" = "netbsd" && ( "$TERM" =~ "^wsvt" || "$TERM" =~ '^vt' ) ]] { +# # fix for wscons +# f="%F{white}" +#} else { f="%f" -} +#} PROMPT='%F{$VICOL}%n'"$f"'@%F{$VICOL}%2m'"$f"'%(?../%F{red}$?'"$f"')%# ' RPROMPT='%F{yellow}${vcs_info_msg_0_:-%~}'"$f"' %T'