Somewhat magical symfony completion

This commit is contained in:
Dan Buch 2024-05-20 11:31:15 -04:00
parent d4e51b6cd2
commit b1b24ba1ed
Signed by: meatballhat
GPG Key ID: A12F782281063434

9
zshrc
View File

@ -104,6 +104,7 @@ plugins=(
rsync
ruby
rust
symfony-complete
tmux
vagrant
vault
@ -252,12 +253,16 @@ if nvm &>/dev/null; then
nvm use --delete-prefix 20 --silent
fi
autoload -Uz compinit
compinit
if kitty --version &>/dev/null; then
autoload -Uz compinit
compinit
kitty + complete setup zsh | source /dev/stdin
fi
compdef _symfony_complete composer
compdef _symfony_complete dep
# To customize prompt, run `p10k configure` or edit ~/.p10k.zsh.
[[ ! -f ~/.p10k.zsh ]] || source ~/.p10k.zsh