Hopefully fixed git function to handle files with spaces
[clearscm.git] / rc / functions
index 1f8dcdc..ec2f311 100644 (file)
@@ -119,6 +119,7 @@ function set_prompt {
          "$TERM" = "2392A"          -o \
          "$TERM" = "dtterm"         -o \
          "$TERM" = "vt100"          -o \
+         "$TERM" = "cygwin"         -o \
          "$TERM" = "xterm"          -o \
          "$TERM" = "xtermc"         -o \
          "$TERM" = "xterm-256color" -o \
@@ -132,6 +133,7 @@ function set_prompt {
   fi
 
   if [ "$TERM" = "vt100"          -o \
+       "$TERM" = "cygwin"         -o \
        "$TERM" = "xterm"          -o \
        "$TERM" = "xtermc"         -o \
        "$TERM" = "xterm-256color" -o \