diff --git a/reader.c b/reader.c index dd59a87d8..3dc67b73b 100644 --- a/reader.c +++ b/reader.c @@ -2099,7 +2099,13 @@ void reader_run_command( wchar_t *cmd ) static int shell_test( wchar_t *b ) { - return !wcslen(b); + if( parser_test( b, 0 ) ) + { + writech( L'\n' ); + parser_test( b, 1 ); + return 1; + } + return 0; } /**