Ticket #4120: tcsh_fix.patch
File tcsh_fix.patch, 620 bytes (added by congest, 4 years ago) |
---|
-
src/subshell/common.c
diff --git a/src/subshell/common.c b/src/subshell/common.c index 790770461..df3aedc03 100644
a b init_subshell_precmd (char *precmd, size_t buff_size) 1133 1133 g_snprintf (precmd, buff_size, 1134 1134 "set echo_style=both; " 1135 1135 "set prompt='%%n@%%m:%%~%%# '; " 1136 "alias precmd 'echo $cwd:q >>%s; kill -STOP $$'\n", tcsh_fifo);1136 "alias precmd 'echo -n;echo $cwd:q >>%s; kill -STOP $$'\n", tcsh_fifo); 1137 1137 break; 1138 1138 case SHELL_FISH: 1139 1139 g_snprintf (precmd, buff_size,