Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

macOS 11: slow command autocompletion #7511

golimpio opened this issue Nov 27, 2020 · 3 comments

macOS 11: slow command autocompletion #7511

golimpio opened this issue Nov 27, 2020 · 3 comments


Copy link

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. x86_64

> echo $TERM

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.

Copy link

piechologist commented Nov 27, 2020

I had the same issue. Thank you @golimpio for mentioning #6270. I replaced my __fish_describe_command (see this comment in #6270) and auto completing is snappy again.

Seems like Apple had silently fixed the underlying bug in macOS 10.15.4 and has silently reintroduced it in macOS 11.0.1?

Copy link

golimpio commented Nov 28, 2020 via email

Copy link

faho commented Nov 28, 2020


#7365 is the best we can do here - in the next release, we will cache the apropos output on macOS and invoke makewhatis in the background. This is not gated on version.

Sign up for free to subscribe to this conversation on GitHub. Already have an account? Sign in.
None yet

No branches or pull requests

3 participants