8000 Allow configuring history file path via `config.nu` · Issue #17419 · nushell/nushell · GitHub
[go: up one dir, main page]

Skip to content

Allow configuring history file path via config.nu #17419

@cos4ni2s

Description

@cos4ni2s

Basics

  • I have done a basic search through the issue tracker to find similar or related issues.
  • I have made myself familiar with the available features of Nushell for the particular area this enhancement request touches.

Related problem

Currently, the only way to fully disable history is by using the --no-history flag, which cannot be applied when logging into a TTY (e.g. at system login or display manager startup).
This makes it difficult or impossible for users who don't want their shell history written to disk.

Describe the solution you'd like

Add support for defining the history file path in config.nu, for example:

$env.config.history.path = "/dev/null"

Describe alternatives you've considered

--no-history flag (not usable for TTY login)

Additional context and details

No response

Metadata

Metadata

Assignees

No one assigned

    Labels

    Type

    No type

    Projects

    No projects

    Milestone

    No milestone

    Relationships

    None yet

    Development

    No branches or pull requests

    Issue actions

      0