Thanks to visit codestin.com
Credit goes to github.com

Skip to content

zsh: update doc to show how to add initContent at multiple location. #6945

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

Merged
merged 1 commit into from
May 2, 2025

Conversation

milanglacier
Copy link
Contributor

Description

As an elementary Nix user unfamiliar with the Nix language, it took me a lot time to discover the lib.mkMerge function and understand its usage for achieving the same effect as specifying both initExtraFirst and initExtra in previous versions.

I hope that including example configurations directly in the documentation would help users like myself (basic Nix users) by saving a lot time when updating configurations to align with upstream changes.

Checklist

  • [ x] Change is backwards compatible.

  • [x ] Code formatted with nix fmt or ./format.

  • [ x] Code tested through nix-shell --pure tests -A run.all
    or nix build --reference-lock-file flake.lock ./tests#test-all using Flakes.

  • [ x] Test cases updated/added. See example.

  • [x ] Commit messages are formatted like

    {component}: {description}
    
    {long description}
    

@github-actions github-actions bot added the shell label Apr 30, 2025
@milanglacier milanglacier changed the title zsh: update initContent doc to show how to add content at multiple … zsh: update doc to show how to add initContent at multiple location. Apr 30, 2025
@khaneliman khaneliman merged commit c5cad19 into nix-community:master May 2, 2025
3 checks passed
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
Projects
None yet
Development

Successfully merging this pull request may close these issues.

2 participants