-
-
Notifications
You must be signed in to change notification settings - Fork 15.3k
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
zsh-fast-syntax-highlighting:init at 1.54 #65429
Conversation
This pull request has been mentioned on NixOS Discourse. There might be relevant details there: |
Thank you for your contribution, but please keep "PRs already reviewed" to only those PRs that have actually been reviewed ;) |
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.
please squash all commits:
git reset HEAD~6
git add pkgs/
git commit --amend --no-edit
git push --force <fork> <branch>
@GrahamcOfBorg build zsh-fast-syntax-highlighting |
@pasqui23 I took liberty to further simplify the expression. The "cd $src" line is actually not needed after |
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.
Tested on NixOS, highlighting works.
(cherry picked from commit c20f765)
@veprbl sorry to bother you in this old issue but how did you use the package? Did you just do {
programs.zsh.interactiveShellInit = ''
source ${pkgs.zsh-fast-syntax-highlighting}/share/zsh/site-functions/fast-syntax-highlighting.plugin.zsh
'';
} in your configuration.nix or is there a better way? |
@lucc, I never set this up on my system, just tested that it works to "source" it in zsh. |
Motivation for this change
Things done
sandbox
innix.conf
on non-NixOS)nix-shell -p nix-review --run "nix-review wip"
./result/bin/
)nix path-info -S
before and after)