Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

[Bug]: install on zsh, when zsh not at default location ~/, ignores $ZDOTDIR #2409

Open
1 task done
excelfreak opened this issue Oct 5, 2024 · 0 comments
Open
1 task done
Labels
bug Something isn't working

Comments

@excelfreak
Copy link

excelfreak commented Oct 5, 2024

What did you expect to happen?

I expected it to work after running the install script. I expected the install script to honor the $ZDOTDIR environment variable to see where zsh related files are located.

What happened?

The script created a .zshrc file in my home root folder with the entry to start it, although the .zshrc file lives somewhere else. After adding the entry to start atuin in my actual .zshrc file it worked.

Similarily the history import couldn't find a .zsh_history file as it is located somewhere else. After I copied the history file to the home root folder ~/ the history import worked fine

Atuin doctor output

Atuin Doctor
Checking for diagnostics


Please include the output below with any bug reports or issues

{
  "atuin": {
    "version": "18.3.0",
    "sync": {
      "cloud": true,
      "records": true,
      "auto_sync": true,
      "last_sync": "2024-10-05 14:30:50.337624774 +00:00:00"
    },
    "sqlite_version": "3.44.0"
  },
  "shell": {
    "name": "zsh",
    "default": "zsh",
    "plugins": [
      "atuin"
    ],
    "preexec": "built-in"
  },
  "system": {
    "os": "Ubuntu",
    "arch": "x86_64",
    "version": "24.04",
    "disks": [
      {
        "name": "/dev/mapper/pve-vm--400--disk--0",
        "filesystem": "ext4"
      }
    ]
  }
}

Code of Conduct

  • I agree to follow this project's Code of Conduct
@excelfreak excelfreak added the bug Something isn't working label Oct 5, 2024
@excelfreak excelfreak changed the title [Bug]: install on zsh [Bug]: install on zsh, when zsh not at default location ~/, ignores $ZDOTDIR Oct 5, 2024
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
bug Something isn't working
Projects
None yet
Development

No branches or pull requests

1 participant