mirror of
https://github.com/ohmyzsh/ohmyzsh.git
synced 2025-12-12 01:52:31 +01:00
This plugin provides completion for claude
This commit is contained in:
parent
beadd56dd7
commit
e7bc587a0b
3 changed files with 287 additions and 0 deletions
10
plugins/claude/claude.plugin.zsh
Normal file
10
plugins/claude/claude.plugin.zsh
Normal file
|
|
@ -0,0 +1,10 @@
|
|||
# Ensure compinit is available
|
||||
autoload -Uz compinit
|
||||
if ! typeset -f _completion_loader >/dev/null; then
|
||||
compinit -u
|
||||
fi
|
||||
|
||||
# Load our completion function
|
||||
fpath=(${0:A:h} $fpath)
|
||||
autoload -Uz _claude
|
||||
compdef _claude claude
|
||||
Loading…
Add table
Add a link
Reference in a new issue