From d6411a7e6cf9226deed2a188dce13b9d3ca5a1cd Mon Sep 17 00:00:00 2001 From: Pat Thoyts Date: Fri, 8 Feb 2013 14:05:23 +0000 Subject: [PATCH] git-cmd: set the TERM appropriately to avoid warnings from 'less' This fixes issue #98 by applying the change used in commit 4d0911d to the batch script used to start a PortableGit shell. Ensuring the TERM variable is set avoids a "WARNING: terminal is not fully functional" warning from less. Signed-off-by: Pat Thoyts --- git-cmd.bat | 1 + 1 file changed, 1 insertion(+) diff --git a/git-cmd.bat b/git-cmd.bat index 6bfccffc..a3038005 100644 --- a/git-cmd.bat +++ b/git-cmd.bat @@ -10,6 +10,7 @@ @if not exist "%HOME%" @set HOME=%USERPROFILE% @set PLINK_PROTOCOL=ssh +@if not defined TERM set TERM=msys @cd %HOME% @start %COMSPEC% -- 2.11.4.GIT