What did you expect to happen?
No errors upon using the nushell overlay.
What happened?
Nushell doesn't support dynamic path overlays, so for things like python venvs I use a workaround like nu -e $"overlay use ($path)/bin/activate.nu".
This subshell doesn't capture ATUIN_HISTORY_ID, which leads to the error in hide-env ATUIN_HISTORY_ID (line 48 on 18.16.1 and line 72 on main).
The -i flag is used for an earlier hide-env call to suppress errors, I wonder if it's safe to do the same here?
Atuin doctor output
Atuin Doctor
Checking for diagnostics
Please include the output below with any bug reports or issues
{
"atuin": {
"version": "18.16.1",
"commit": "NO_GIT",
"sync": null,
"sqlite_version": "3.53.2"
},
"shell": {
"name": "nu",
"default": "nu",
"plugins": [
"atuin"
],
"preexec": "built-in"
},
"system": {
"os": "Arch Linux",
"arch": "x86_64",
"version": "rolling",
"disks": [
{
"name": "/dev/nvme0n1p5",
"filesystem": "ext4"
},
{
"name": "/dev/nvme0n1p3",
"filesystem": "vfat"
},
{
"name": "/dev/nvme0n1p2",
"filesystem": "ext4"
},
{
"name": "/dev/sda1",
"filesystem": "ext4"
},
{
"name": "/dev/sda2",
"filesystem": "ext4"
}
]
}
}
Error: nu::shell::env_variable_not_found
× Environment variable 'ATUIN_HISTORY_ID' not found
╭─[/home/aman/.local/share/atuin/init.nu:48:14]
47 │ }
48 │ hide-env ATUIN_HISTORY_ID
· ────────┬───────
· ╰── environment variable not found
49 │ }
╰────
Code of Conduct
What did you expect to happen?
No errors upon using the nushell overlay.
What happened?
Nushell doesn't support dynamic path overlays, so for things like python venvs I use a workaround like
nu -e $"overlay use ($path)/bin/activate.nu".This subshell doesn't capture ATUIN_HISTORY_ID, which leads to the error in
hide-env ATUIN_HISTORY_ID(line 48 on 18.16.1 and line 72 on main).The -i flag is used for an earlier hide-env call to suppress errors, I wonder if it's safe to do the same here?
Atuin doctor output
Code of Conduct