ma pkgs.rclone: add auto-completion
This commit is contained in:
parent
d27dd90bb9
commit
eb55a8dc0c
|
@ -24,6 +24,15 @@ in {
|
|||
patches = [ ./custom/quodlibet/single-digit-discnumber.patch
|
||||
./custom/quodlibet/remove-override-warning.patch ];
|
||||
});
|
||||
rclone = super.pkgs.stdenv.lib.overrideDerivation super.rclone (old: {
|
||||
postInstall = old.postInstall + ''
|
||||
|
||||
$bin/bin/rclone genautocomplete zsh _rclone
|
||||
install -D -m644 _rclone $bin/share/zsh/vendor-completions/_rclone
|
||||
$bin/bin/rclone genautocomplete bash _rclone
|
||||
install -D -m644 _rclone $bin/etc/bash_completion.d/rclone
|
||||
'';
|
||||
});
|
||||
alsa-hdspconf = callPackage ./custom/alsa-tools { alsaToolTarget="hdspconf";};
|
||||
alsa-hdspmixer = callPackage ./custom/alsa-tools { alsaToolTarget="hdspmixer";};
|
||||
alsa-hdsploader = callPackage ./custom/alsa-tools { alsaToolTarget="hdsploader";};
|
||||
|
|
Loading…
Reference in a new issue