diff options
Diffstat (limited to 'core/look.zig')
| -rw-r--r-- | core/look.zig | 2 |
1 files changed, 1 insertions, 1 deletions
diff --git a/core/look.zig b/core/look.zig index 7ca8914f..170e5ea9 100644 --- a/core/look.zig +++ b/core/look.zig @@ -1435,7 +1435,7 @@ pub fn lookAt(p: *Pardes, id: usize, operand_raw: []const u8) void { // themselves). var home_buf: [4096]u8 = undefined; const stripped = std.mem.trim(u8, operand_raw, " \t\r\n"); - const operand = if (stripped.len > 0 and stripped[0] == '~') filesystem.expandHome(stripped, &home_buf) else std.mem.trimEnd(u8, operand_raw, "\r\n"); + const operand = if (stripped.len > 0 and stripped[0] == '~') p.expandHome(stripped, &home_buf) else std.mem.trimEnd(u8, operand_raw, "\r\n"); // A +History line names a dump of the state file's (`Restore <label>`; // its date, size and panes are the indented line under it): a look at // it is a Restore of that dump; other words are looked as any (a path |
