From: Pat Thoyts Date: Fri, 8 Feb 2013 14:05:23 +0000 (+0000) Subject: git-cmd: set the TERM appropriately to avoid warnings from 'less' X-Git-Url: https://repo.or.cz/w/msysgit.git/commitdiff_plain/d6411a7e6cf9226deed2a188dce13b9d3ca5a1cd 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 --- 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%