mirror of
https://github.com/rwxrob/dot
synced 2024-11-18 15:25:52 +00:00
7 lines
69 B
Plaintext
7 lines
69 B
Plaintext
|
|
if [[ -t 1 ]]; then
|
|
echo has stdout
|
|
else
|
|
echo redirected
|
|
fi
|