When I open up terminal, the following message appears
/dev/fd/13:18: command not found: compdef
How can I fix it so that it disappears?
I’m using a 2017 13-inch macbook pro and the zsh shell
I saw other posts with similar questions but they didn’t work for me as I don’t have in my .zshrc
# Load Angular CLI autocompletion.
source <(ng completion script)
this is the content of my .zshrc
export JAVA_HOME=/usr/local/opt/openjdk@17
export ANDROID_SDK_ROOT=/Users/icsone/Library/Android/sdk
export ANDROID_HOME=/Users/icsone/Library/Android/sdk
export NVM_DIR="$HOME/.nvm"
[ -s "/usr/local/opt/nvm/nvm.sh" ] && . "/usr/local/opt/nvm/nvm.sh"
[ -s "/usr/local/opt/nvm/etc/bash_completion" ] && . "/usr/local/opt/nvm/etc/bash_completion"
export PATH="/usr/local/opt/ruby/bin:$PATH"
export PATH="$PATH:/Users/icsone/Documents/flutter/flutter/bin"
export PATH="/usr/local/sbin:$PATH"
alias python='python3.11'
export PATH="$PATH":"$HOME/.pub-cache/bin"
2