Skip to content

Commit

Permalink
add pdm shell completion
Browse files Browse the repository at this point in the history
  • Loading branch information
cdayjr committed Jun 9, 2023
1 parent 353a4e0 commit 1a7db61
Showing 1 changed file with 6 additions and 0 deletions.
6 changes: 6 additions & 0 deletions .zshrc
Original file line number Diff line number Diff line change
Expand Up @@ -24,6 +24,12 @@ if [ -d /usr/share/doc/yadm/completion/zsh ]; then
fpath=(/usr/share/doc/yadm/completion/zsh $fpath)
fi

mkdir -p ~/.zfunc
fpath+=("$HOME/.zfunc")
if command -v pdm > /dev/null 2>&1; then
pdm completion zsh > ~/.zfunc/_pdm
fi

# Enable advanced auto completion
if command -v brew >/dev/null 2>&1 && [ -n "$ZSH_VERSION" ]; then
# Brew install zsh to "insecure" directories, -i silently ignores the results
Expand Down

0 comments on commit 1a7db61

Please sign in to comment.