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

Erika CLI: add autocomplete support #17

Merged
merged 7 commits into from
May 29, 2019

Conversation

ArchibaldBienetre
Copy link

erika.sh has been renamed to erika_sh

The script now supports autocomplete - no need to type out the lengthy subcommands anymore, nor the long options. :)

For this feature to work, install the new requirements, and activate autocompletion.
The simplest way to do this is to run
./activate_autocomplete_for_erika_sh.sh

@@ -0,0 +1,44 @@
#!/usr/bin/env bash
Copy link
Author

@ArchibaldBienetre ArchibaldBienetre May 29, 2019

Choose a reason for hiding this comment

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

NB: Files in [root]/example_code are just artifacts of my personal learning - ignore, no need to review these in detail.

Doing so makes the changeset is quite small actually :)

@ArchibaldBienetre
Copy link
Author

Showed it to Felix :)

Sometimes it's not working out of the box... no idea why ':D

Good for merge though

@ArchibaldBienetre ArchibaldBienetre merged commit 4d12005 into master May 29, 2019
@ArchibaldBienetre ArchibaldBienetre deleted the erika-cli-autocompletion branch November 13, 2019 20:29
cyroxx pushed a commit to cyroxx/erika3004 that referenced this pull request Feb 1, 2020
…a-cli-autocompletion

Erika CLI: add autocomplete support
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

Successfully merging this pull request may close these issues.

1 participant