Delete git ssh

This commit is contained in:
Ivan Malison 2021-07-30 20:08:03 -06:00
parent 41f5b4224d
commit e391d6298d
No known key found for this signature in database
GPG Key ID: 62530EFBE99DC2F8

View File

@ -1,12 +0,0 @@
#!/bin/bash
# If parent command is "npm ...", then redirect stderr to /dev/null
# https://github.com/npm/npm/issues/7979#issuecomment-94953923
GRANDPARENT_PID=$(ps -p $PPID -o ppid=)
if ps -p $GRANDPARENT_PID -o command= | grep -q -P "^npm"; then
ssh "$@" 2>/dev/null
else
ssh "$@"
fi