-
-
Notifications
You must be signed in to change notification settings - Fork 14.7k
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-completions: avoid collision with trashy #212522
Conversation
34192c5
to
90ea339
Compare
This pr may break completions for trash-cli. |
Don't think so since trash-cli includes its own completion as well, if anything this pr will fix another collision |
BTW, to fix collisions for all commands: --------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------
modified: pkgs/shells/zsh/zsh-completions/default.nix
--------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------
@ pkgs/shells/zsh/zsh-completions/default.nix:20 @ stdenv.mkDerivation rec {
# tmuxp install it so avoid collision
rm $out/share/zsh/site-functions/_tmuxp
+
+ # trash-cli install it so avoid collision
+ # TODO: remove this after zsh-completions is updated (> 0.34.0)
+ rm $out/share/zsh/site-functions/_trash{,-empty,-list,-restore,-put}
'';
meta = { |
@Vonfry please apply the diff |
Let us wait for the new release of zsh-completions which will remove
_trash. Other fixes, such as the above patch, can be done locally
instead of this pr.
Artturi ***@***.***> writes:
… zsh-completions removed _trash completions, but there is not release yet. So we can accept this to resolve the issue right now, or
wait until there is a new zsh-completions release: Remove _trash* because trashcli support completion by Freed-Wu · Pull Request
#895 · zsh-users/zsh-completions
BTW, to fix collisions for all commands:
--------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------
modified: pkgs/shells/zsh/zsh-completions/default.nix
--------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------
@ pkgs/shells/zsh/zsh-completions/default.nix:20 @ stdenv.mkDerivation rec {
# tmuxp install it so avoid collision
rm $out/share/zsh/site-functions/_tmuxp
+
+ # trash-cli install it so avoid collision
+ # TODO: remove this after zsh-completions is updated (> 0.34.0)
+ rm $out/share/zsh/site-functions/_trash{,-empty,-list,-restore,-put}
'';
meta = {
@Vonfry please apply the diff
—
Reply to this email directly, view it on GitHub, or unsubscribe.
You are receiving this because you were mentioned.
|
A new release is published. Let us make a pr to update. |
Description of changes
Things done
sandbox = true
set innix.conf
? (See Nix manual)nix-shell -p nixpkgs-review --run "nixpkgs-review rev HEAD"
. Note: all changes have to be committed, also see nixpkgs-review usage./result/bin/
)nixos/doc/manual/md-to-db.sh
to update generated release notes