You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
When there is absolutely no tty set at all (e.g. in a shell spawned by
a flatpak), tty prints 'not a tty', which matches `tty | grep "tty"`.
Luckily `tty` also returns `1`, so we can do a two-stage check instead.
This fixes#38
0 commit comments