From 44bb248ae52f65e5bc2efc8fce296b02ae568b7b Mon Sep 17 00:00:00 2001 From: Slava Zanko Date: Sat, 25 Jul 2009 23:00:27 +0000 Subject: [PATCH] Add support of csh (used on FreeBSD) Signed-off-by: Slava Zanko --- src/subshell.c | 2 ++ 1 file changed, 2 insertions(+) diff --git a/src/subshell.c b/src/subshell.c index e04b736d6..dbcdf57a4 100644 --- a/src/subshell.c +++ b/src/subshell.c @@ -403,6 +403,8 @@ init_subshell (void) subshell_type = ZSH; else if (strstr (shell, "/tcsh")) subshell_type = TCSH; + else if (strstr (shell, "/csh")) + subshell_type = TCSH; else if (strstr (shell, "/bash") || getenv ("BASH")) subshell_type = BASH; else if (strstr (shell, "/fish"))