summary refs log tree commit diff
path: root/pkgs/applications
diff options
context:
space:
mode:
authorJörg Thalheim <Mic92@users.noreply.github.com>2018-05-19 11:48:40 +0100
committerGitHub <noreply@github.com>2018-05-19 11:48:40 +0100
commite5cbbd6fbe8c962d8a70c4bdce5a4d1eae1c7466 (patch)
tree834d680b34089c34be20e8febc64ecbf80eb5877 /pkgs/applications
parentc757111ab76a290effbed393e87c1a36b3778af3 (diff)
parentfccf7f1181cefef80d3c1a62a25511cce36e4ae2 (diff)
downloadnixlib-e5cbbd6fbe8c962d8a70c4bdce5a4d1eae1c7466.tar
nixlib-e5cbbd6fbe8c962d8a70c4bdce5a4d1eae1c7466.tar.gz
nixlib-e5cbbd6fbe8c962d8a70c4bdce5a4d1eae1c7466.tar.bz2
nixlib-e5cbbd6fbe8c962d8a70c4bdce5a4d1eae1c7466.tar.lz
nixlib-e5cbbd6fbe8c962d8a70c4bdce5a4d1eae1c7466.tar.xz
nixlib-e5cbbd6fbe8c962d8a70c4bdce5a4d1eae1c7466.tar.zst
nixlib-e5cbbd6fbe8c962d8a70c4bdce5a4d1eae1c7466.zip
Merge pull request #40761 from jensbin/openshift
openshift: add {bash,zsh}-completion
Diffstat (limited to 'pkgs/applications')
-rw-r--r--pkgs/applications/networking/cluster/openshift/default.nix2
1 files changed, 2 insertions, 0 deletions
diff --git a/pkgs/applications/networking/cluster/openshift/default.nix b/pkgs/applications/networking/cluster/openshift/default.nix
index 07c9e9ba6784..79eb8bb233c9 100644
--- a/pkgs/applications/networking/cluster/openshift/default.nix
+++ b/pkgs/applications/networking/cluster/openshift/default.nix
@@ -69,6 +69,8 @@ in stdenv.mkDerivation rec {
   installPhase = ''
     mkdir -p "$out/bin"
     cp -a "_output/local/bin/$(go env GOOS)/$(go env GOARCH)/"* "$out/bin/"
+    install -D -t "$out/etc/bash_completion.d" contrib/completions/bash/*
+    install -D -t "$out/share/zsh/site-functions" contrib/completions/zsh/*
   '';
 
   preFixup = ''