diff options
Diffstat (limited to 'core/exec.zig')
| -rw-r--r-- | core/exec.zig | 2 |
1 files changed, 2 insertions, 0 deletions
diff --git a/core/exec.zig b/core/exec.zig index 2528805f..ad1cefea 100644 --- a/core/exec.zig +++ b/core/exec.zig @@ -874,6 +874,8 @@ pub fn executeBuiltinLine(p: *Pardes, id: usize, txt: []const u8) bool { const raw = commandText(txt); if (raw.len == 0 or p.exec_depth >= max_exec_depth) return false; if (isComment(raw)) return true; + // A live picker's act and source words are its own (Pick.zig). + if (pardes.Pick.execWord(p, raw)) return true; // `+` too, so an old `Tty+fish` is renamed as `Tty fish` is. const word_end = std.mem.indexOfAny(u8, raw, " \t+") orelse raw.len; var renamed: [1024 + 16]u8 = undefined; |
