Commit 6543d38
committed
shell config: only resize if on tty
Resize is only called if stdout is opened. If it is not opened, there is
no TTY to be resized.
The previous configuration calls resize on any login shell through
/etc/profile, which outputs an error messages on shells not on a tty.
(That can occur when using ssh to call a command directly, i.e.
`ssh host echo foo`).1 parent 93e314c commit 6543d38
File tree
1 file changed
+2
-2
lines changed1 file changed
+2
-2
lines changed| Original file line number | Diff line number | Diff line change | |
|---|---|---|---|
| |||
112 | 112 | | |
113 | 113 | | |
114 | 114 | | |
115 | | - | |
116 | | - | |
| 115 | + | |
| 116 | + | |
117 | 117 | | |
118 | 118 | | |
119 | 119 | | |
| |||
0 commit comments