From 52a2b306922bb3db90491109380483f94c88ee21 Mon Sep 17 00:00:00 2001 From: Bruce Hill Date: Sat, 7 Sep 2019 21:47:22 -0700 Subject: [PATCH] Fixed mistake in `bb` function conditional --- bb.c | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/bb.c b/bb.c index 3349272..0bdfa68 100644 --- a/bb.c +++ b/bb.c @@ -158,7 +158,7 @@ static const char *T_LEAVE_BBMODE = T_OFF(T_MOUSE_XY ";" T_MOUSE_CELL ";" T_MOUS static const char *T_LEAVE_BBMODE_PARTIAL = T_OFF(T_MOUSE_XY ";" T_MOUSE_CELL ";" T_MOUSE_SGR) T_ON(T_WRAP); static const char *bbcmdfn = "bb() {\n" -" if $# -eq 0; then cat >> $BBCMD; return; fi\n" +" if test $# -eq 0; then cat >> $BBCMD; return; fi\n" " for arg; do\n" " shift;\n" " if echo \"$arg\" | grep \"^+[^:]*:$\" >/dev/null 2>/dev/null; then\n"