Merge pull request #316749 from SFrijters/atuin-conditional-completions
This commit is contained in:
commit
9731173bc9
@ -41,7 +41,7 @@ rustPlatform.buildRustPackage rec {
|
||||
darwin.apple_sdk_11_0.frameworks.SystemConfiguration
|
||||
];
|
||||
|
||||
postInstall = ''
|
||||
postInstall = lib.optionalString (stdenv.buildPlatform.canExecute stdenv.hostPlatform) ''
|
||||
installShellCompletion --cmd atuin \
|
||||
--bash <($out/bin/atuin gen-completions -s bash) \
|
||||
--fish <($out/bin/atuin gen-completions -s fish) \
|
||||
|
Loading…
Reference in New Issue
Block a user