From: Nicolas Boisselier Date: Sat, 9 Mar 2019 21:56:11 +0000 (+0000) Subject: etc/profile.d/pdsh.sh X-Git-Url: https://git.nbdom.net/?a=commitdiff_plain;h=51b5ca3a77e2c5aeb8e3d04852278c07e605af3c;p=nb.git etc/profile.d/pdsh.sh --- diff --git a/etc/profile.d/pdsh.sh b/etc/profile.d/pdsh.sh index 3b095bef..3b04612a 100644 --- a/etc/profile.d/pdsh.sh +++ b/etc/profile.d/pdsh.sh @@ -1,4 +1,10 @@ # pdsh.sh which pdsh > /dev/null || return 0 + export PDSH_RCMD_TYPE=ssh + [ -r ~/.pdsh.hosts ] && export WCOLL=~/.pdsh.hosts + +pdsh_quiet() { + pdsh $@ 2>/dev/null +}