diff --git a/pkgs/applications/networking/cluster/openshift/default.nix b/pkgs/applications/networking/cluster/openshift/default.nix index 07c9e9ba678..c4a2e93e139 100644 --- a/pkgs/applications/networking/cluster/openshift/default.nix +++ b/pkgs/applications/networking/cluster/openshift/default.nix @@ -69,6 +69,12 @@ in stdenv.mkDerivation rec { installPhase = '' mkdir -p "$out/bin" cp -a "_output/local/bin/$(go env GOOS)/$(go env GOARCH)/"* "$out/bin/" + mkdir -p "$out/etc/bash_completion.d" + cp -a contrib/completions/bash/oc "$out/etc/bash_completion.d" + cp -a contrib/completions/bash/openshift "$out/etc/bash_completion.d" + mkdir -p "$out/share/zsh/site-functions" + cp -a contrib/completions/zsh/oc "$out/share/zsh/site-functions" + cp -a contrib/completions/zsh/openshift "$out/share/zsh/site-functions" ''; preFixup = ''