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 support for Fish-based autocompletion #71

Merged
merged 3 commits into from
Dec 11, 2018

Conversation

natpen
Copy link
Contributor

@natpen natpen commented Dec 10, 2018

I whipped this up for myself, but In case you're interested :)

README.md Outdated
### Fish

To get fish autocompletion, simply rename the file `fish_tealdeer` to `tldr.fish`
and copy it to `~/.config/fish/completions/tldr.fish`.
Copy link
Collaborator

Choose a reason for hiding this comment

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

Hm, I just noticed that those two paragraphs (both for Bash and Fish) are unnecessarily complicated :)

What about this?

## Autocompletion

- To get bash autocompletion, simply copy the file `bash_tealdeer` to `/usr/share/bash-completion/completions/tldr`.
- To get fish autocompletion, simply copy the file `fish_tealdeer` to `~/.config/fish/completions/tldr.fish`.

Copy link
Contributor Author

Choose a reason for hiding this comment

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

sure

@dbrgn dbrgn merged commit 89a2595 into tealdeer-rs:master Dec 11, 2018
@dbrgn
Copy link
Collaborator

dbrgn commented Dec 11, 2018

Thanks!

@natpen natpen deleted the fish-completion branch December 11, 2018 13:24
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Development

Successfully merging this pull request may close these issues.

2 participants