I'm using GNU bash, version 5.0.17(1)-release (x86_64-pc-linux-gnu). How do I see a preview of what happens if I press tab to autocomplete, similar to a fish shell. (Sorry, I'm new, so I may not be using the right terminology)
Unix & Linux Stack Exchange is a question and answer site for users of Linux, FreeBSD and other Un*x-like operating systems. It only takes a minute to sign up.
Sign up to join this community
fish
does. I was thinking maybe the list of completions offered on double-tab bybash
would be enough. I don't think you can do what you want inbash
. Or, rather, I don't think you can do it without a pretty complicated program written specifically for that. There's no bash option for it as far as I know. But let's see if anyone can come up with something clever. Could you please add a screenshot fromfish
showing what you mean for those not familiar with it?