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

add argcomplete bash/zsh completion #148

Merged
merged 7 commits into from
Dec 24, 2023
Merged

add argcomplete bash/zsh completion #148

merged 7 commits into from
Dec 24, 2023

Conversation

Adamkadaban
Copy link
Contributor

Needed to move len(sys.argv) == 1 check after parsing args to make sure autocomplete can run the program correctly

Users can get completion by running eval "$(register-python-argcomplete nxc)" if they want tab completion
This is something that I can add to the wiki if the PR gets approved

@NeffIsBack
Copy link
Contributor

I really like it! I also fixed the completion for modules, so you also can tab-to-complete them as well. Gonna push the fixes now
image

@Adamkadaban
Copy link
Contributor Author

@NeffIsBack Nice! Thanks for the help

@NeffIsBack
Copy link
Contributor

register-python-argcomplete nxc >> ~/.zshrc
This will register the argcomplete permanently in kali

Copy link
Contributor

@NeffIsBack NeffIsBack left a comment

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

LGTM

@NeffIsBack NeffIsBack added tested reviewed code Label for when a static code review was done labels Dec 24, 2023
@NeffIsBack NeffIsBack merged commit dcbb01a into Pennyw0rth:main Dec 24, 2023
1 check passed
@NeffIsBack
Copy link
Contributor

NeffIsBack commented Dec 24, 2023

@Adamkadaban if you have the time it would be nice if you PR the setup guide to the wiki :)

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
enhancement New feature or request reviewed code Label for when a static code review was done tested
Projects
None yet
Development

Successfully merging this pull request may close these issues.

2 participants