if command -sq pip
    pip completion --fish 2>/dev/null | source
end