Skip to content

macOS 11: slow command autocompletion #7511

@golimpio

Description

@golimpio

After updating to Big Sur, I'm experiencing a few seconds delay every time I press tab for auto completing a command.

For example, if I type ls and then press [tab], fish will take a few seconds before displaying the list of commands starting with "ls".

This issue seems to be similar to #6270

Tried fish without third-party customizations?

  • Yes, same issue.

My environment:

>  fish --version
fish, version 3.1.2

>  uname -a
Darwin dellicia.local 20.2.0 Darwin Kernel Version 20.2.0: Tue Nov 10 21:14:14 PST 2020; root:xnu-7195.60.70.111.1~1/RELEASE_X86_64 x86_64

> echo $TERM
xterm-256color

Running fish with --profile, the only odd thing I've identified was:

1757591	1757591	-> apropos $argv 2>/dev/null | awk -v FS=" +- +" '{
		split($1, names, ", ");
		for (name in names)
			if (names[name] ~ /^'"$argv"'.* *\([18]\)/ ) {
				sub( "( |\t)*\\\([18]\\\)", "", names[name] );
				sub( " \\\[.*\\\]", "", names[name] );
				print names[name] "\t" $2;
			}
	}'

Similar to the other issue linked here.

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