Commit fe2c4ce

Eric Bower  ·  2026-03-04 19:53:14 -0500 EST
parent 4d398e8
chore: remove comment about old strat
1 files changed,  +0, -3
+0, -3
......@@ -984,9 +984,6 @@ fn shellQuote(alloc: std.mem.Allocator, arg: []const u8) ![]u8 {
984984 // Always use single quotes (like Python's shlex.quote). Inside single
985985 // quotes nothing is special except ' itself, which we handle with the
986986 // '\'' trick (end quote, escaped literal quote, reopen quote).
987- //
988- // The previous double-quote strategy broke in interactive bash because
989- // \! does not suppress history expansion inside double quotes.
990987 var len: usize = 2;
991988 for (arg) |ch| {
992989 len += if (ch == '\'') 4 else 1;