mirror of
https://github.com/Matir/skel.git
synced 2026-05-25 21:19:09 -07:00
18 lines
263 B
Bash
Executable File
18 lines
263 B
Bash
Executable File
#!/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
|