]> git.sev.monster Git - dotfiles.git/blobdiff - base/.zshrc
actually do what was mentioned in previous commit
[dotfiles.git] / base / .zshrc
index 3fdaa0d419152e350c33277e4ad04db7baff5836..2486de7e66856e9d10bf8b78d4677b415ceb6976 100644 (file)
@@ -52,12 +52,13 @@ if [[ "$OSTYPE" =~ '^freebsd' ]] {
 ### prompt
 setopt prompt_subst
 local f=
 ### prompt
 setopt prompt_subst
 local f=
-if [[ "$OSTYPE" = "netbsd" && ( "$TERM" =~ "^wsvt" || "$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"
     f="%f"
-}
+#}
 PROMPT='%F{$VICOL}%n'"$f"'@%F{$VICOL}%2m'"$f"'%(?../%F{red}$?'"$f"')%# '
 RPROMPT='%F{yellow}${vcs_info_msg_0_:-%~}'"$f"' %T'
 
 PROMPT='%F{$VICOL}%n'"$f"'@%F{$VICOL}%2m'"$f"'%(?../%F{red}$?'"$f"')%# '
 RPROMPT='%F{yellow}${vcs_info_msg_0_:-%~}'"$f"' %T'
 
This page took 0.033731 seconds and 4 git commands to generate.