summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorRobert Wahler <robert@gearheadforhire.com>2010-11-29 23:59:21 +0800
committerLeonid Volnitsky <leonid@volnitsky.com>2011-01-29 15:47:01 +0800
commit06a20ea0cf53246a140af7863bd3906c2a18ef28 (patch)
treef068e0e8a7d9c21bb1270ddd7616a08579806cd1
parentMy TERM is xterm-256color even under screen for some reason (diff)
downloadgit-prompt-06a20ea0cf53246a140af7863bd3906c2a18ef28.tar.gz
git-prompt-06a20ea0cf53246a140af7863bd3906c2a18ef28.tar.bz2
git-prompt-06a20ea0cf53246a140af7863bd3906c2a18ef28.zip
unset tty on cygwin under console2
-rwxr-xr-xgit-prompt.sh2
1 files changed, 1 insertions, 1 deletions
diff --git a/git-prompt.sh b/git-prompt.sh
index 3b8cc4c..21f3610 100755
--- a/git-prompt.sh
+++ b/git-prompt.sh
@@ -264,7 +264,7 @@ set_shell_label() {
# we don't need tty name under X11
case $TERM in
- xterm* | rxvt* | gnome-terminal | konsole | eterm | wterm ) unset tty ;;
+ xterm* | rxvt* | gnome-terminal | konsole | eterm | wterm | cygwin) unset tty ;;
*);;
esac