]> git.sev.monster Git - dotfiles.git/blobdiff - base/.zshrc
actually do what was mentioned in previous commit
[dotfiles.git] / base / .zshrc
index 2dd25ff460a284c708a9b6767d9f7cbf921c7062..2486de7e66856e9d10bf8b78d4677b415ceb6976 100644 (file)
@@ -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'
 
This page took 0.031186 seconds and 4 git commands to generate.