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

Document how to improve bash completion behavior. #59

Open
bckohan opened this issue Apr 23, 2024 · 1 comment
Open

Document how to improve bash completion behavior. #59

bckohan opened this issue Apr 23, 2024 · 1 comment
Assignees
Labels
documentation Improvements or additions to documentation
Milestone

Comments

@bckohan
Copy link
Member

bckohan commented Apr 23, 2024

No description provided.

@bckohan bckohan added the enhancement New feature or request label Apr 23, 2024
@bckohan bckohan added this to the Version 1.3 milestone Apr 23, 2024
@bckohan bckohan self-assigned this Apr 23, 2024
@bckohan bckohan modified the milestones: Version 2.2, Version 3.0 Jun 10, 2024
@bckohan bckohan removed this from the Version 3.0 milestone Nov 20, 2024
@bckohan
Copy link
Member Author

bckohan commented Nov 22, 2024

Turns out this should be considered beyond the scope of django-typer. I do think some guidance should be added to the documentation though, so I'm updating this issue to be a docs issue.

The most straightforward way to achieve this would be to install https://github.com/akinomyoga/ble.sh

The behavior of bash completions can also be tweaked to a cycle through mode by adding the following to bashrc:

bind 'set show-all-if-ambiguous on'
bind 'TAB:menu-complete'

Relevant: https://superuser.com/questions/288714/bash-autocomplete-like-zsh

These are system-wide tweaks though and don't seem doable per-completion script. Thats why this is out of scope.

@bckohan bckohan added this to the Version 3.0 milestone Nov 22, 2024
@bckohan bckohan added documentation Improvements or additions to documentation and removed enhancement New feature or request labels Nov 22, 2024
@bckohan bckohan changed the title Bash autocomplete should have navigable menu like zshell. Document how to improve bash completion behavior. Nov 22, 2024
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
documentation Improvements or additions to documentation
Projects
None yet
Development

No branches or pull requests

1 participant