(misc): code improvements#325
Closed
ss-o wants to merge 8 commits into
Closed
Conversation
…aliases and set owner of packages. Signed-off-by: Salvydas Lukosius <sall@w-ss.io>
…sudo from path declaration in zi.zsh Signed-off-by: Salvydas Lukosius <ss-o@users.noreply.github.com>
Signed-off-by: Salvydas Lukosius <ss-o@users.noreply.github.com>
* [refactor] Update codebase (#264) * [feat]: ZI_USR hash * [fix]: updates/deprecates/adds subcommand options and other minor helpers. * [refactor]: ⚡️ rename zi-show-times > zi-times + minor fixes --------- * message/output (#265) [feat]: improve/rewrite/silence message. * updates (#266) refactor: ⚡️ improves updates * zpmod/build (#267) * [build]: ⚡️ consolidate zpmod --------- * chore: 🚀 * style: 🎨 add space in output of 'zi times' * [fix]: .zi-prepare-home use builtin cd -q * fix: 🐛 register subcommand: report * improve .zi-module build process * perf: ⚰️ deduplicate compinit calls --------- Signed-off-by: Salvydas Lukosius <ss-o@users.noreply.github.com> Co-authored-by: Salvydas Lukosius <ss-o@users.noreply.github.com>
Signed-off-by: Salvydas Lukosius <ss-o@users.noreply.github.com>
perf: ⚡️ Checks the cached .zcompdump file to see if it must be regenerated adds a noticable delay to zsh startup. This restricts checking it once a day, determines when to regenerate compinit (it doesn't need to modify the compdump everytime) and compiles mapped to share (total mem reduction) run in background in multiple shells. A function that can be invoked from within `atinit', `atload', e.g: zi ice atinit'zicompinit_fast'; zi load user/repository. Signed-off-by: Salvydas Lukosius <sall@w-ss.io> Co-authored-by: Salvydas Lukosius <ss-o@users.noreply.github.com>
3 tasks
|
There hasn't been any activity on this pull request recently, and in order to prioritize active work, it has been marked as stale. |
|
There hasn't been any activity on this pull request recently, and in order to prioritize active work, it has been marked as stale. |
|
Pull Request closed and locked due to lack of activity. |
This file contains hidden or bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Sign up for free
to subscribe to this conversation on GitHub.
Already have an account?
Sign in.
Add this suggestion to a batch that can be applied as a single commit.This suggestion is invalid because no changes were made to the code.Suggestions cannot be applied while the pull request is closed.Suggestions cannot be applied while viewing a subset of changes.Only one suggestion per line can be applied in a batch.Add this suggestion to a batch that can be applied as a single commit.Applying suggestions on deleted lines is not supported.You must change the existing code in this line in order to create a valid suggestion.Outdated suggestions cannot be applied.This suggestion has been applied or marked resolved.Suggestions cannot be applied from pending reviews.Suggestions cannot be applied on multi-line comments.Suggestions cannot be applied while the pull request is queued to merge.Suggestion cannot be applied right now. Please check back later.
This pull request includes updates to workflows, documentation, and Zsh scripts to improve functionality, maintainability, and compliance with best practices. Below is a summary of the most important changes, grouped by theme.
Workflow and CI Enhancements:
.github/workflows/zunit.ymlto remove thepull_requesttrigger, add a newenvvariable (branch_ref), and dynamically clone the repository using the current branch reference instead of hardcoding themainbranch. [1] [2]Documentation Updates:
docs/README.mdto improve HTML structure, update image references, and enhance accessibility by replacing inline styles with standardized attributes (e.g.,widthandheight). [1] [2] [3]Zsh Script Improvements:
lib/zsh/git-process-output.zshby introducing a color configuration (ZI_USR[GP_COL]), optimizing thetimeline()function, and adding compatibility with 24-bit color terminals. [1] [2] [3] [4]lib/_ziby adding a newversioncommand and refining theunloadandreportlogic to handle additional plugin states. [1] [2] [3]These changes collectively improve the project's workflows, documentation clarity, and Zsh script functionality while adhering to best practices.