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

7
zshrc
View File

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