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]:[nushell] not reading config file from ~/.config/atuin/config.toml #2516

Open
1 task done
mwmcode opened this issue Jan 1, 2025 · 1 comment
Open
1 task done
Labels
bug Something isn't working

Comments

@mwmcode
Copy link

mwmcode commented Jan 1, 2025

What did you expect to happen?

Atuin to read config file ~/.config/atuin/config.toml

image
[theme]
name = "marine"

style = "compact"
inline_height = 40

history_filter = [
  "^c$",
  "^cl",
  "^cd",
  "^ls",
  "^rm",
  "^code",
  "^touch",
  "secret",
  "password"
]

What happened?

configs not applied to atuin even after restarting the terminal.

  • style and inline_height are not applied
Screenshot 2025-01-01 at 1 45 18 pm
  • history_filter is not applied
image

Atuin doctor output

❯❯❯ atuin info
Config files:
client config: "~/.config/atuin/config.toml"
server config: "~/.config/atuin/server.toml"
client db path: "/Users/mch/.local/share/atuin/history.db"
key path: "/Users/mch/.local/share/atuin/key"
session path: "/Users/mch/.local/share/atuin/session"

Env Vars:
ATUIN_CONFIG_DIR = "None"

Version info:
version: 18.4.0


❯❯❯ atuin doctor
{
  "atuin": {
    "version": "18.4.0",
    "sync": null,
    "sqlite_version": "3.46.0"
  },
  "shell": {
    "name": "nu",
    "default": "nu",
    "plugins": [
      "atuin"
    ],
    "preexec": "built-in"
  },
  "system": {
    "os": "Darwin",
    "arch": "arm64",
    "version": "15.2",
    "disks": [
      {
        "name": "Macintosh HD",
        "filesystem": "apfs"
      },
      {
        "name": "Macintosh HD",
        "filesystem": "apfs"
      }
    ]
  }
}

Code of Conduct

  • I agree to follow this project's Code of Conduct
@mwmcode mwmcode added the bug Something isn't working label Jan 1, 2025
@mwmcode mwmcode changed the title [Bug]: not reading config file from ~/.config/atuin/config.toml [Bug]: not reading config file from ~/.config/atuin/config.toml [nushell] Jan 1, 2025
@mwmcode mwmcode changed the title [Bug]: not reading config file from ~/.config/atuin/config.toml [nushell] [Bug]:[nushell] not reading config file from ~/.config/atuin/config.toml Jan 1, 2025
@mwmcode mwmcode closed this as completed Jan 3, 2025
@mwmcode mwmcode reopened this Jan 3, 2025
@mwmcode
Copy link
Author

mwmcode commented Jan 3, 2025

The only flag that seems to work is filter_mode

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