diff options
author | Robert Wahler <robert@gearheadforhire.com> | 2010-11-29 23:59:21 +0800 |
---|---|---|
committer | Leonid Volnitsky <leonid@volnitsky.com> | 2011-01-29 15:47:01 +0800 |
commit | 06a20ea0cf53246a140af7863bd3906c2a18ef28 (patch) | |
tree | f068e0e8a7d9c21bb1270ddd7616a08579806cd1 | |
parent | My TERM is xterm-256color even under screen for some reason (diff) | |
download | git-prompt-06a20ea0cf53246a140af7863bd3906c2a18ef28.tar.gz git-prompt-06a20ea0cf53246a140af7863bd3906c2a18ef28.tar.bz2 git-prompt-06a20ea0cf53246a140af7863bd3906c2a18ef28.zip |
unset tty on cygwin under console2
-rwxr-xr-x | git-prompt.sh | 2 |
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 |