-
-
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-syntax-highlighting: add -share script #84627
Conversation
Add a `zsh-syntax-highlighting-share` helper and update documentation for [Interactive shell helpers] (https://nixos.org/nixpkgs/manual/#sec-shell-helpers)
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.
Are you familiar with the module which can be enabled with programs.zsh.syntaxHighlighting.enable = true;
? If so, what is the advantage of this approach?
<para> | ||
<literal>zsh-autoenv</literal>: <command>zsh-autoenv-share</command> | ||
</para> | ||
</listitem> |
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.
Did you intend to include zsh-autoenv in this commit?
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.
Yes, I saw that this was missing as well. It even seemed like fzf was one of the first like this and zsh-autoenv copied from this.
@ryneeverett I have seen |
Anything I can do to get this merged? |
I marked this as stale due to inactivity. → More info |
I marked this as stale due to inactivity. → More info |
Closing this as it seems to have been forgotten and I don't use it anymore myself. |
Add a
zsh-syntax-highlighting-share
helper and update documentationfor [Interactive shell helpers]
(https://nixos.org/nixpkgs/manual/#sec-shell-helpers)
Motivation for this change
Use the zsh plugin
zsh-synstax-highlighting
from nixpkgs in dotfiles like documented (https://nixos.org/nixpkgs/manual/#sec-shell-helpers), i.e.instead of something like
Things done
sandbox
innix.conf
on non-NixOS linux)nix-shell -p nixpkgs-review --run "nixpkgs-review wip"
./result/bin/
)nix path-info -S
before and after)