Merge pull request #40761 from jensbin/openshift
openshift: add {bash,zsh}-completion
commite5cbbd6fbe8c962d8a70c4bdce5a4d1eae1c7466
authorJörg Thalheim <Mic92@users.noreply.github.com>
dateSat 19 May 2018, 11:48 (9 years ago)
parentc757111fccf7f1
pkgs/applications/networking/cluster/openshift/default.nix+2
@@ -69,6 +69,8 @@ in stdenv.mkDerivation rec {
6969 installPhase = ''
7070 mkdir -p "$out/bin"
7171 cp -a "_output/local/bin/$(go env GOOS)/$(go env GOARCH)/"* "$out/bin/"
72+ install -D -t "$out/etc/bash_completion.d" contrib/completions/bash/*
73+ install -D -t "$out/share/zsh/site-functions" contrib/completions/zsh/*
7274 '';
7375
7476 preFixup = ''