Atuin database "lost" in VS Code 1.95.1

The latest VS Code 1.95.1, installed via snap on Ubuntu, did not show my atuin history since it created a new Atuin folder in its snap-mounted directory.

The fix workaround was to symlink my Atuin folder.

1 Like

This is a issue with VS Code snap overrideing XDG_DATA_HOME env var and causing a wide ranging problem with other terminal commands, not just fonts and Atuin.

The VS Code workaround is to reset the env var for terminals under Linux:

  "terminal.integrated.env.linux": {
    "XDG_DATA_HOME": "${env:HOME}/.local/share"
  }
1 Like

This helped me avoid removing code snap. Thank you, @cas!