dotfiles/.config/zsh/.zprofile
2021-09-12 09:54:13 +02:00

15 lines
366 B
Bash

# pip zsh completion start
function _pip_completion {
local words cword
read -Ac words
read -cn cword
reply=( $( COMP_WORDS="$words[*]" \
COMP_CWORD=$(( cword-1 )) \
PIP_AUTO_COMPLETE=1 $words[1] ) )
}
compctl -K _pip_completion pip
# pip zsh completion end
if hash transmission-daemon 2>/dev/null; then
transmission-daemon
fi