Merge pull request #314359 from croissong/stern-add-fish-completion-support

stern: add fish completion support
This commit is contained in:
Nick Cao
2024-05-25 08:44:40 -04:00
committed by GitHub
@@ -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