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

Autocomplete for Herms #112

Open
jayathungek opened this issue Jan 1, 2020 · 3 comments
Open

Autocomplete for Herms #112

jayathungek opened this issue Jan 1, 2020 · 3 comments

Comments

@jayathungek
Copy link

Hello everyone,

I've written a bash script that autocompletes herms commands. It also autocompletes saved recipes if the previous command is one of - edit, remove or view. My problem is that this script needs to be sourced when herms is being installed. Is there a way to do this, for example in herms.cabal or travis.yml? I can submit a pull request once I figure out how to do this.

Thanks!

@langston-barrett
Copy link
Collaborator

@jayathungek I'm not particularly knowledgeable on this subject, but if you link to your branch I'll take a look and see if I can figure something out!

@jayathungek
Copy link
Author

@langston-barrett Here's my fork of the repository:
https://github.com/jayathungek/herms

My code is in hermsComplete.bash. Please run $ source ./hermsComplete.bash and the autocomplete feature should work.

@langston-barrett
Copy link
Collaborator

This is still on my radar, just haven't had a good moment to sit down and figure it out.

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

No branches or pull requests

2 participants