Source OpenClaw completion if present
This commit is contained in:
parent
811016c432
commit
ba2d9ad2e8
1 changed files with 3 additions and 0 deletions
3
.zshrc
3
.zshrc
|
|
@ -129,6 +129,9 @@ which helm 1> /dev/null && source <(helm completion zsh)
|
||||||
# doctl completion
|
# doctl completion
|
||||||
which doctl 1> /dev/null && source <(doctl completion zsh)
|
which doctl 1> /dev/null && source <(doctl completion zsh)
|
||||||
|
|
||||||
|
# OpenClaw Completion
|
||||||
|
[ -f "${HOME}/.openclaw/completions/openclaw.zsh" ] && source "${HOME}/.openclaw/completions/openclaw.zsh"
|
||||||
|
|
||||||
# Ensure zinit is installed
|
# Ensure zinit is installed
|
||||||
ZINIT_HOME="${XDG_DATA_HOME:-${HOME}/.local/share}/zinit/zinit.git"
|
ZINIT_HOME="${XDG_DATA_HOME:-${HOME}/.local/share}/zinit/zinit.git"
|
||||||
[ ! -d $ZINIT_HOME ] && mkdir -p "$(dirname $ZINIT_HOME)"
|
[ ! -d $ZINIT_HOME ] && mkdir -p "$(dirname $ZINIT_HOME)"
|
||||||
|
|
|
||||||
Loading…
Add table
Add a link
Reference in a new issue