Skip to content

error "complete: nosort: invalid option name" after installing bash completion  #4326

@RobertoD91

Description

@RobertoD91
  • PlatformIO Core.
    If you’ve found a bug, please provide an information below.

Configuration

Operating system:
MacOS 12.4

PlatformIO Version (platformio --version):
PlatformIO Core, version 6.0.2

Description of problem

After pio system completion install bash when i open a new terminal i get the error -bash: complete: nosort: invalid option name and autocomplete for pio don't work

Steps to Reproduce

  1. run pio system completion install bash
  2. open a new terminal

Actual Results

$ pio system completion install bash
PlatformIO CLI completion has been installed for BASH shell to /Users/Roberto/.bash_completion 
Please restart a current shell session.

Expected Results

...

Additional info

Bash version: 3.2.57(1)-release

Metadata

Metadata

Assignees

No one assigned

    Type

    No type
    No fields configured for issues without a type.

    Projects

    No projects

    Milestone

    Relationships

    None yet

    Development

    No branches or pull requests

    Issue actions