diff options
| author | Jonas Maier <jonas@x77.dev> | 2026-05-23 14:48:51 +0200 |
|---|---|---|
| committer | Jonas Maier <jonas@x77.dev> | 2026-05-23 14:48:51 +0200 |
| commit | e4c0fc7beab2a6dd53210263a857f2b3ec29b604 (patch) | |
| tree | 47137f101e5caaa93273cb03eeea92e0616537ca /src/run/mod.rs | |
| parent | ba9414b17a107bdb30fe462aa2d42f6e91b3ad74 (diff) | |
| download | pish-e4c0fc7beab2a6dd53210263a857f2b3ec29b604.tar.gz | |
customizable syntax highlighting
Diffstat (limited to 'src/run/mod.rs')
| -rw-r--r-- | src/run/mod.rs | 10 |
1 files changed, 9 insertions, 1 deletions
diff --git a/src/run/mod.rs b/src/run/mod.rs index f34b678..842a918 100644 --- a/src/run/mod.rs +++ b/src/run/mod.rs @@ -451,7 +451,14 @@ impl Executor { stdin: InputReader, stdout: OutputWriter, ) -> SpawnedCmd { - self.execute_block(parse::Block { commands: s.stmts, finished_parsing: true }, stdin, stdout) + self.execute_block( + parse::Block { + commands: s.stmts, + finished_parsing: true, + }, + stdin, + stdout, + ) } } @@ -711,6 +718,7 @@ const BUILTINS: &[&'static dyn BuiltinClone] = &[ &builtin::Here, &builtin::logo, &builtin::export, + &builtin::pish_theme, ]; pub fn builtin_map() -> HashMap<BString, &'static dyn BuiltinClone> { |
