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