-
Hi 👋. Coming from https://yazi-rs.github.io/docs/quick-start/#changing-working-directory-when-exiting-yazi. I get the error below. Error: nu::shell::column_not_found
× Cannot find column
╭─[/home/azzamsa/.config/nushell/env.nu:46:1]
46 │ def --env x [] {
47 │ let tmp = $"($env.TEMP)(char path_sep)yazi-cwd." + (random chars -l 5)
· ──┬─ ──┬─
· │ ╰── cannot find column 'TEMP'
· ╰── value originates here
48 │ # let tmp = (mktemp -t "yazi-cwd.XXXXX")
╰──── I don't think we need this complicated code, - let tmp = $"($env.TEMP)(char path_sep)yazi-cwd." + (random chars -l 5)
+ let tmp = (mktemp -t "yazi-cwd.XXXXX") Btw, where to make a PR for the documentation website? Thanks! |
Beta Was this translation helpful? Give feedback.
Replies: 2 comments 3 replies
-
Well, it was I want to know if Nushell has a simple way to cater to both Windows and Unix? I'm not familiar with it :) As for the code, you can click "edit this page" link at the bottom of that document page. |
Beta Was this translation helpful? Give feedback.
-
I took the liberty to send a PR. Congratz on the 0.2.0, by the way 😊 |
Beta Was this translation helpful? Give feedback.
I took the liberty to send a PR.
Congratz on the 0.2.0, by the way 😊