Autocomplete over all the aliases and CLI tools
See original GitHub issueRight now, autocomplete only works from the second command. It would be nice to get autocomplete right from first command.
Usecase: If I have following aliases:
g=git
ga='git add'
gaa='git add --all'
gap='git apply'
gapa='git add --patch'
gau='git add --update'
gav='git add --verbose'
gb='git branch'
When I type g
, I should be able to get autocomplete for all these aliases.
It would be even better if we are also able to see the related expansion of the aliases in the autocomplete itself. Something like g(git)
, ga(git add)
, …
Issue Analytics
- State:
- Created 3 years ago
- Reactions:14
- Comments:5 (3 by maintainers)
Top Results From Across the Web
How do I get bash completion for command aliases?
You must add your alias to the program 'complete'. Depending the kind of autocompletion you want to achieve, you must use -c or...
Read more >AutoComplete vs. Command Aliases (ex: "F" becomes ...
My problem: 7+ times out of 10, when I would attempt to initialize the "FILLET" command by using the "F" keyboard command alias,...
Read more >How to alias and navigate to directories with autocomplete in ...
A Linux shell script for registering directory aliases and navigating to them with tab completion.
Read more >How to use autocomplete at the command line for dotnet, git ...
I enjoy setting up and making my prompt/command line/shell/terminal experience as useful (and pretty) as possible. You have lots of command line ......
Read more >Fig's autocomplete
The next-generation command line. ; IDE-style autocomplete for your existing terminal · Supports 500+ popular CLI tools · Inline descriptions & powerful ...
Read more >
Top Related Medium Post
No results found
Top Related StackOverflow Question
No results found
Troubleshoot Live Code
Lightrun enables developers to add logs, metrics and snapshots to live code - no restarts or redeploys required.
Start Free
Top Related Reddit Thread
No results found
Top Related Hackernoon Post
No results found
Top Related Tweet
No results found
Top Related Dev.to Post
No results found
Top Related Hashnode Post
No results found
Several people have requested this. I’ve added it to our roadmap.
The setting is available in the
fig settings
UI or you can run this command to enable it:(you might have to restart your terminal after enabling)