pash
pash copied to clipboard
Hide PaSh installation output by default
Use something like the following (based on @mgree advice) to hide output in installation scripts by default.
[ "$CI" != "true" ] && exec 3>&1 4>&2 >FOO.log 2>&1
For more info check: #627