google-cloud-sdk: fix completion loading
This commit is contained in:
parent
64b4af5296
commit
015a305ab6
1 changed files with 2 additions and 0 deletions
|
@ -103,6 +103,8 @@ in stdenv.mkDerivation rec {
|
|||
mkdir -p $out/share/zsh/site-functions
|
||||
mv $out/google-cloud-sdk/completion.zsh.inc $out/share/zsh/site-functions/_gcloud
|
||||
ln -s $out/share/zsh/site-functions/_gcloud $out/share/zsh/site-functions/_gsutil
|
||||
# zsh doesn't load completions from $FPATH without #compdef as the first line
|
||||
sed -i '1 i #compdef gcloud' $out/share/zsh/site-functions/_gcloud
|
||||
|
||||
# This directory contains compiled mac binaries. We used crcmod from
|
||||
# nixpkgs instead.
|
||||
|
|
Loading…
Reference in a new issue