From 3ed2210deb1b5bbe418a98c4490d1302b4dfb2e6 Mon Sep 17 00:00:00 2001 From: Johannes Schindelin Date: Mon, 16 Feb 2009 17:39:07 +0100 Subject: [PATCH] etc/profile: Always cd to the user's home directory We used to switch directories only when Git was not yet built. Be consistent and do it always. Signed-off-by: Johannes Schindelin --- etc/profile | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/etc/profile b/etc/profile index 426b4d4f..a02cc685 100644 --- a/etc/profile +++ b/etc/profile @@ -109,8 +109,8 @@ This is a minimal MSYS environment to work on Git. $MESSAGE EOF - cd "$HOME" } +cd "$HOME" test -f /etc/motd && sed "s/\$MESSAGE/$MESSAGE/" < /etc/motd -- 2.11.4.GIT