Skip to content

Document conditions for suppress_history variable #804

Closed
@jpcirrus

Description

@jpcirrus

Step 1: Provide a summary of your problem

The documentation, as at 2022-08-28, for the suppress_history configuration variable does not mention that this functionality depends on the shell being appropriately configured (e.g. bash requires the shell variable HISTCONTROL to be set and include either of the values ignorespace or ignoreboth [to also ignore sequential duplicate commands], and zsh requires setopt HIST_IGNORE_SPACE). If these prerequisites are not met, regardless of the value of suppress_history, shell_command will be appended to shell history.

Metadata

Metadata

Assignees

No one assigned

    Type

    No type

    Projects

    No projects

    Milestone

    No milestone

    Relationships

    None yet

    Development

    No branches or pull requests

    Issue actions