You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
i am trying out nushell on arch linux(btw), and the file zoxide make with the init command start with a if and that is not allow
only def, const, extern, alias, use, module, export or export-env is allow
so i think it need to wrap in a module or something.
Error: nu::parser::expected_keyword
× Expected keyword.
╭─[~/.cache/zoxide/zoxide.nu:9:1]
8 │ # Initialize hook to add new entries to the database.
9 │ if (not ($env | default false __zoxide_hooked | get __zoxide_hooked)) {
· ─┬
· ╰── expected def, const, extern, alias, use, module, export or export-env keyword
10 │ $env.__zoxide_hooked = true
╰────
The text was updated successfully, but these errors were encountered:
i am trying out nushell on arch linux(btw), and the file zoxide make with the init command start with a if and that is not allow
only def, const, extern, alias, use, module, export or export-env is allow
so i think it need to wrap in a module or something.
The text was updated successfully, but these errors were encountered: