-
-
Notifications
You must be signed in to change notification settings - Fork 584
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
Fix history list --cwd
errors
#278
Conversation
Do you mind splitting out the zsh plugin change into a separate PR? I'm gonna need some extra time to digest that. |
Hmm. Looking at the history queries, we really should move to using compile-time checked queries (or at least ones with proper parameter support). I'll tentatively accept this for now though (once clippy is happy and when the zsh changes are moved out) |
I'll take them out. Here is some documentation for you to checkout. The only use for it is to make sure that the correct file is sourced and that the Documentation
The complexity of the command is explained in the link mentioned above saying "plugin standard". |
Clippy lints should be fixed now. I don't know why they weren't already done because they were all in files that I did not modify. It must've been merged last time before completing the clippy lints. This should be able to be merged now. |
Thanks for this, just the formatting to go 😅.
Should do the trick so you don't need to do it manually |
Maybe a github-workflow could be used to prevent this from happening? Something similar to this or this. Or It would prevent a commit from every happening without passing these checks. |
Seems there's still formatting issues, do you have some custom formatting rules set up globally? |
I don't have a |
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.
@ellie, thoughts?
LGTM! Thanks for the work here 💖 |
f861893 Update to clap 3.1.x (#289) e8f7aac Add compact mode (#288) 1e04c4c Add rust-version to Cargo.toml (#287) 222e52b Update Dockerfile fae118a Improve fuzzy search (#279) 7cde55a Add code of conduct (#281) d270798 Update config-rs (#280) 3248883 Update README.md 7f58741 Fix `history list --cwd` errors (#278) e117b62 Update fish bindings. (#265) 4223ac6 Restore bash 4.2 compatibility, only add hook once (#271) 7651f89 Add support for blesh (#267) c2dd332 fix: get install.sh working on UbuntuWSL (#260) 84403a3 Bump reqwest from 0.11.7 to 0.11.9 (#261) 5005cf7 Bump serde_json from 1.0.73 to 1.0.75 (#262) 7fa3e1c Do not crash if the history timestamp is in the future (#250) 8d21506 use sqlite grouping rather than subquery (#181) d36ff13 Replace dpkg with apt (#248)
f861893 Update to clap 3.1.x (#289) e8f7aac Add compact mode (#288) 1e04c4c Add rust-version to Cargo.toml (#287) 222e52b Update Dockerfile fae118a Improve fuzzy search (#279) 7cde55a Add code of conduct (#281) d270798 Update config-rs (#280) 3248883 Update README.md 7f58741 Fix `history list --cwd` errors (#278) e117b62 Update fish bindings. (#265) 4223ac6 Restore bash 4.2 compatibility, only add hook once (#271) 7651f89 Add support for blesh (#267) c2dd332 fix: get install.sh working on UbuntuWSL (#260) 84403a3 Bump reqwest from 0.11.7 to 0.11.9 (#261) 5005cf7 Bump serde_json from 1.0.73 to 1.0.75 (#262) 7fa3e1c Do not crash if the history timestamp is in the future (#250) 8d21506 use sqlite grouping rather than subquery (#181) d36ff13 Replace dpkg with apt (#248)
Before the fix
zsh
plugin by standardizing it according tozdharma
. The reference can be found in the file. It results in the following:The
$commands
array is also loaded withzmodload
in case the user doesn't have it loaded for whatever reason