Skip to content

Tab completion #8751

Closed Answered by faho
lUNuXl asked this question in Q&A
Feb 28, 2022 · 1 comment
Discussion options

You must be logged in to vote

The autosuggestions, that greyed-out part of the commandline, very much aren't guaranteed to be correct or even to exist.

They're taken from history and are the best guess we have at the moment. We have no idea if your history was wrong, or if it will start being correct, so we can simply guess.

By triggering them on tab you have removed actual, proper, logical tab completion from your shell.

Is there any way to fix this?

The way to "fix" it is to not treat autosuggestions as a thing they are not. I.e. don't "set fish to complete words on pressing tab". It's not doing what you think it does.

Replies: 1 comment

Comment options

You must be logged in to vote
0 replies
Answer selected by faho
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Category
Q&A
Labels
None yet
2 participants