stern: add fish completion support

This commit is contained in:
Jan Moeller 2024-05-24 21:17:03 +02:00
parent 95bdd7fc6c
commit a89f3439c5
No known key found for this signature in database
GPG Key ID: 96A438F9EE72572F

View File

@ -23,7 +23,7 @@ buildGoModule rec {
stern = if stdenv.buildPlatform.canExecute stdenv.hostPlatform then "$out" else buildPackages.stern;
in
''
for shell in bash zsh; do
for shell in bash zsh fish; do
${stern}/bin/stern --completion $shell > stern.$shell
installShellCompletion stern.$shell
done