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

fall through to default bash completion #27

Closed
wants to merge 1 commit into from
Closed

fall through to default bash completion #27

wants to merge 1 commit into from

Conversation

chrisjaure
Copy link

When there are no completions for a command, fall through to default bash completion. Fixes #16.

It's still necessary to add this in your command if it produces output:

# Provide sub completions
if [ "$1" = "--complete" ]; then
  exit 0
fi

I also added the patch from #12.

When there are no completions for a command, fall through to default bash completion. Fixes #16.

I also added the patch from #12.
@qrush
Copy link
Owner

qrush commented Dec 7, 2012

I feel like we should offer this for both bash and zsh (this zsh user would enjoy that!)

@chrisjaure
Copy link
Author

Definitely agree, but I am not a zsh user so someone more knowledgeable in that area will need to add it.

@myobie
Copy link

myobie commented Jul 31, 2013

Does this have a chance of getting merged?

This pull request was closed.
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.

How to autocomplete file paths?
3 participants