google-cloud-sdk: Fix bash completion for gcloud, gsutil
bash-completion expects the files in share/bash-completion/completions/ to be named identically to the applicable commands (I think. This does make it work at least.)
This commit is contained in:
parent
800a3dd909
commit
ef2083cb7a
|
@ -81,7 +81,8 @@ in stdenv.mkDerivation rec {
|
|||
|
||||
# setup bash completion
|
||||
mkdir -p $out/share/bash-completion/completions
|
||||
mv $out/google-cloud-sdk/completion.bash.inc $out/share/bash-completion/completions/gcloud.inc
|
||||
mv $out/google-cloud-sdk/completion.bash.inc $out/share/bash-completion/completions/gcloud
|
||||
ln -s $out/share/bash-completion/completions/gcloud $out/share/bash-completion/completions/gsutil
|
||||
|
||||
# This directory contains compiled mac binaries. We used crcmod from
|
||||
# nixpkgs instead.
|
||||
|
|
Loading…
Reference in a new issue