-
Notifications
You must be signed in to change notification settings - Fork 46
(misc): code improvements #325
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
Conversation
…aliases and set owner of packages. Signed-off-by: Salvydas Lukosius <[email protected]>
…sudo from path declaration in zi.zsh Signed-off-by: Salvydas Lukosius <[email protected]>
Signed-off-by: Salvydas Lukosius <[email protected]>
* [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 <[email protected]> Co-authored-by: Salvydas Lukosius <[email protected]>
Signed-off-by: Salvydas Lukosius <[email protected]>
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 <[email protected]> Co-authored-by: Salvydas Lukosius <[email protected]>
|
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 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.