aboutsummaryrefslogtreecommitdiff
path: root/lib/shell/init.nom
diff options
context:
space:
mode:
authorBruce Hill <bruce@bruce-hill.com>2019-03-20 16:16:41 -0700
committerBruce Hill <bruce@bruce-hill.com>2019-03-20 16:16:41 -0700
commit938adbfe446e7f4a4e45b9dd27b5cf2e7ee4070c (patch)
tree1a28126609a6d2ad3acabfa044aea106f0abf10b /lib/shell/init.nom
parente665d9725c4bb02f4c18d16527367f424cb880fa (diff)
Switching more verbose ("Action" tree with "foo" $x) syntax to `(foo
`$x) when possible
Diffstat (limited to 'lib/shell/init.nom')
-rw-r--r--lib/shell/init.nom7
1 files changed, 2 insertions, 5 deletions
diff --git a/lib/shell/init.nom b/lib/shell/init.nom
index 13dc675..be72c9f 100644
--- a/lib/shell/init.nom
+++ b/lib/shell/init.nom
@@ -28,8 +28,5 @@ external:
"Command failure: Command `\($cmd)` was terminated by signal \$return"
### Attach callsite information for better error reporting
- (=sh $cmd) compiles to
- ("Action" tree with "at" ("Text" tree with "\($cmd.source)") "=" "sh" $cmd) as lua
-
- (sh> $cmd) compiles to
- ("Action" tree with "at" ("Text" tree with "\($cmd.source)") "sh" ">" $cmd) as lua \ No newline at end of file
+ (=sh $cmd) compiles to `(at `("Text" tree with "\($cmd.source)") =sh `$cmd)
+ (sh> $cmd) compiles to `(at `("Text" tree with "\($cmd.source)") sh> `$cmd)