This commit is contained in:
Reinier Criel 2025-10-22 06:59:32 -07:00
parent d0f2edec0a
commit f086aeb2be
6 changed files with 44 additions and 6 deletions

View file

@ -51,13 +51,14 @@ function bunx() {
}
function pip() {
wrapSafeChainCommand "pip" "aikido-pip" "$@"
wrapSafeChainCommand "pip" "aikido-pip" --target-version-major "2" "$@"
}
function pip3() {
wrapSafeChainCommand "pip3" "aikido-pip" "$@"
wrapSafeChainCommand "pip3" "aikido-pip" --target-version-major "3" "$@"
}
function npm() {
if [[ "$1" == "-v" || "$1" == "--version" ]] && [[ $# -eq 1 ]]; then
# If args is just -v or --version and nothing else, just run the npm version command