mirror of
https://github.com/Matir/skel.git
synced 2026-05-26 13:35:42 -07:00
Fix up prezto.
This commit is contained in:
17
dotfiles/zshrc.d/gcloud.zsh
Executable file
17
dotfiles/zshrc.d/gcloud.zsh
Executable 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
|
||||
Reference in New Issue
Block a user