Skip to content

Autocompletion error "_init_completion: command not found" #768

@kg4zow

Description

@kg4zow

Description

Trying to use the scripts/cheat.bash autocompletion file. When I type cheat xxx (the beginning of the name of one of my cheatsheets) and hit TAB, it prints the error -bash: _init_completion: command not found.

Version

4.4.2

Other info

  • macOS 15.7.1 on Intel-based Mac Mini
  • cheat was installed using Homebrew
    • ran brew upgrade before creating this issue, no newer version is available
  • Shell is bash 5.3.3(1)-release, also installed using Homebrew
  • Found info online which suggested brew install bash-completion@2, installing this made no difference

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