aboutsummaryrefslogtreecommitdiff
path: root/lib/shell
diff options
context:
space:
mode:
authorBruce Hill <bruce@bruce-hill.com>2025-08-31 18:03:05 -0400
committerBruce Hill <bruce@bruce-hill.com>2025-08-31 18:03:05 -0400
commita0ac652cd1eebdc42425b34f1685f8cb20cb4eea (patch)
treeb41c99f8f0fa62eb03d1f5df44d2c501cd5f2976 /lib/shell
parenta571ccffd795a595e990a3405dcf977aafc33c6c (diff)
Simplify quotes by limiting to `,',"
Diffstat (limited to 'lib/shell')
-rw-r--r--lib/shell/shell.tm2
1 files changed, 1 insertions, 1 deletions
diff --git a/lib/shell/shell.tm b/lib/shell/shell.tm
index f9476161..08b36f1a 100644
--- a/lib/shell/shell.tm
+++ b/lib/shell/shell.tm
@@ -2,7 +2,7 @@ use commands_v1.0
lang Shell
convert(text:Text -> Shell)
- return Shell.from_text("'" ++ text.replace($/'/, `'"'"'`) ++ "'")
+ return Shell.from_text("'" ++ text.replace(`'`, `'"'"'`) ++ "'")
convert(texts:[Text] -> Shell)
return Shell.from_text(" ".join([Shell(t).text for t in texts]))