commit 7db198432b73cdbdde1ce72ec0513b56a26f0132
parent adfa83092f6fe7ba5d9197469c079020e02fdfe7
Author: Chris Bracken <chris@bracken.jp>
Date: Mon, 8 Jul 2019 05:53:26 +0000
Add call to resizewin in .zprofile
Required if running on a serial line console.
Diffstat:
1 file changed, 3 insertions(+), 0 deletions(-)
diff --git a/.zprofile b/.zprofile
@@ -2,3 +2,6 @@
# Start ssh-agent.
eval $(ssh-agent -s) > /dev/null
+
+# Set the terminal size if we're on a serial line.
+if [[ -x /usr/bin/resizewin ]]; then /usr/bin/resizewin -z; fi