-
-
Notifications
You must be signed in to change notification settings - Fork 242
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
Feature: Fish Completion Profile #239
Conversation
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
Hey @andrewmeyer ! Thank you for this lovely contribution. I'm not using Fish shell but the syntax looks more natural than bash or zsh 😉
docs/index.md
Outdated
Once this is done, re-source your fish config: | ||
`source ~/.config/fish/config.fish` | ||
|
||
You will now have command completion for fish, including the completion of known projects, tags, and frames`. |
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
You will now have command completion for fish, including the completion of known projects, tags, and frames`. | |
You will now have command completion for fish, including the completion of known projects, tags, and frames. |
I realized that there are several more flags to add into this, I should be able to keep poking at this throughout the week to get parity between the auto completion and the command documentation section. I'll remove the WIP flag and @ someone for a final review |
@k4nar do you speak Fish? |
@andrewmeyer If you think we are good here, can you squash your commits? Then I'll merge this. |
initial development work performed in https://github.com/andrewmeyer/fish-completions expand documentation expands documentation to include instructions on installing and activating the fish completion script for watson. provide lists of projects and tags for report/log Extends the autocomplete functionality for log and report. If -T/-p are provided, autocomplete a list of tags and projects
119ab9f
to
cc133aa
Compare
@jmaupetit Thanks, everything should be squashed now. I've been using this for a week and I think I have worked out all of the features I commonly use. If something comes up I can always open another PR with bug fixes. |
Sounds perfect! Thanks. |
Added: - New `add` command (#202) - Add lunar start time options to the `report` and `log` commands (#215) - Aggregate reports by day (#231) - Fish shell completion (#239) - Add support for first day of the week configuration in reports and logs (#240) - Python 3.7 support (#241) - Add `start --no-gap` and `stop --at` options (#254) Changed: - The `edit` command now checks data consistency (#203) - Current state saving is now improve when using Watson as a library (#214) - Prevent calling `get_start_time_for_period` multiple times (#219) Fixed: - Improved support for UTF-8 with Python 2 (#211) - Zsh completion for tags and projects with spaces in their names (#227) - Typos in commands output (#230, #235) - Project URL of the project in PyPI (#260) Removed: - Python 3.3 support (#210).
Added: - New `add` command (#202) - Add lunar start time options to the `report` and `log` commands (#215) - Aggregate reports by day (#231) - Fish shell completion (#239) - Add support for first day of the week configuration in reports and logs (#240) - Python 3.7 support (#241) - Add `start --no-gap` and `stop --at` options (#254) Changed: - The `edit` command now checks data consistency (#203) - Current state saving is now improve when using Watson as a library (#214) - Prevent calling `get_start_time_for_period` multiple times (#219) Fixed: - Improved support for UTF-8 with Python 2 (#211) - Zsh completion for tags and projects with spaces in their names (#227) - Typos in commands output (#230, #235) - Project URL of the project in PyPI (#260) Removed: - Python 3.3 support (#210).
Added: - New `add` command (#202) - Add lunar start time options to the `report` and `log` commands (#215) - Aggregate reports by day (#231) - Fish shell completion (#239) - Add support for first day of the week configuration in reports and logs (#240) - Python 3.7 support (#241) - Add `start --no-gap` and `stop --at` options (#254) Changed: - The `edit` command now checks data consistency (#203) - Current state saving is now improve when using Watson as a library (#214) - Prevent calling `get_start_time_for_period` multiple times (#219) Fixed: - Improved support for UTF-8 with Python 2 (#211) - Zsh completion for tags and projects with spaces in their names (#227) - Typos in commands output (#230, #235) - Project URL of the project in PyPI (#260) Removed: - Python 3.3 support (#210).
Fish Completion
This PR adds a tab completion profile to be used by the fish shell
watson help
backend.url
is present in the config file, print it instead of a generic message when describingwatson sync
Change Overview
docs
watson.fish
Test Cases