Merge pull request #40761 from jensbin/openshift

openshift: add {bash,zsh}-completion
This commit is contained in:
Jörg Thalheim 2018-05-19 11:48:40 +01:00 committed by GitHub
commit e5cbbd6fbe
No known key found for this signature in database
GPG key ID: 4AEE18F83AFDEB23

View file

@ -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 = ''