What did you expect to happen?
> $env.SHELL = 'nu'
> atuin hex
> bash -c 'echo $SHELL'
< 'nu'
atuin hex should respect $SHELL or have some way to override and not forcefully use login shell.
What happened?
> $env.SHELL = 'nu'
> atuin hex
> bash -c 'echo $SHELL'
< 'zsh'
I try to set $SHELL, but it does not work. It always chooses to use my login shell.
My setup is to keep zsh as my login shell for simplicity. My tmux has my $SHELL as nu. Trying to use atuin hex forces me to use zsh after running it and there is no way to override it.
Atuin doctor output
{
"atuin": {
"version": "18.13.3",
"commit": "NO_GIT",
"sync": null,
"sqlite_version": "3.46.0"
},
"shell": {
"name": "nu",
"default": "zsh",
"plugins": [
"atuin"
],
"preexec": "built-in"
},
"system": {
"os": "NixOS",
"arch": "x86_64",
"version": "26.05",
"disks": [
{
"name": "/dev/nvme0n1p2",
"filesystem": "ext4"
},
{
"name": "/dev/nvme0n1p2",
"filesystem": "ext4"
},
{
"name": "/dev/nvme0n1p1",
"filesystem": "vfat"
}
]
}
}
Code of Conduct
What did you expect to happen?
atuin hexshould respect $SHELL or have some way to override and not forcefully use login shell.What happened?
I try to set $SHELL, but it does not work. It always chooses to use my login shell.
My setup is to keep zsh as my login shell for simplicity. My tmux has my $SHELL as nu. Trying to use atuin hex forces me to use zsh after running it and there is no way to override it.
Atuin doctor output
Code of Conduct