Gitify the working tree.
[profile.git] / opt / bin / bigscreen
diff --git a/opt/bin/bigscreen b/opt/bin/bigscreen
new file mode 100755 (executable)
index 0000000..df235b8
--- /dev/null
@@ -0,0 +1,12 @@
+#!/bin/bash
+#
+# bigscreen: Start screen, resizing the current window to allow a hardstatus 
+#            line in addition to an 80x24 display.
+# Usage: bigscreen [args]
+#
+
+# Resize only if we're at the default size.
+if [ "$(tput lines)" = "24" ]; then
+  usize $(tput cols) 25
+fi
+exec screen ${1+"$@"}