Skip to content

ADD: Guide for adding rules in inputrc #12

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

Merged
merged 1 commit into from
Feb 28, 2025
Merged
Changes from all commits
Commits
File filter

Filter by extension

Filter by extension

Conversations
Failed to load comments.
Loading
Jump to
Jump to file
Failed to load files.
Loading
Diff view
Diff view
12 changes: 8 additions & 4 deletions README.md
Original file line number Diff line number Diff line change
Expand Up @@ -16,10 +16,14 @@ Ensure that `bash-completion` and rust toolchains(cargo, etc.) are installed cor
bash scripts/install_completion.sh
```

And add these to your `.bashrc` file:
```bash
bind 'set show-all-if-ambiguous on'
bind 'TAB:menu-complete'
For better experience, add these to your inputrc (/etc/inputrc, ~/.inputrc):
```
set show-all-if-ambiguous on
set menu-complete-display-prefix on
TAB: menu-complete
set colored-completion-prefix on
set colored-stats on
"\e[Z": menu-complete-backward
```

## Requirements
Expand Down