Fix up prezto.

This commit is contained in:
David Tomaschik
2018-03-10 23:11:35 -08:00
parent 4091cc3f03
commit 769989127b
10 changed files with 6 additions and 70 deletions

17
dotfiles/zshrc.d/gcloud.zsh Executable file
View File

@@ -0,0 +1,17 @@
#!/bin/zsh
GCL=${HOME}/tools/gcloud
if [ ! -d ${GCL} ] ; then
return
fi
# Add bin to path
export PATH="${PATH}:${GCL}/bin"
# Load completion
source ${GCL}/completion.zsh.inc
which kubectl 2>/dev/null >&2 && \
source <(kubectl completion zsh) || \
true