]> git.phdru.name Git - dotfiles.git/blobdiff - bin/screen
.screenrc: Remove ti/te and run screen wrapped with tput calls
[dotfiles.git] / bin / screen
diff --git a/bin/screen b/bin/screen
new file mode 100755 (executable)
index 0000000..b2fbe11
--- /dev/null
@@ -0,0 +1,9 @@
+#! /bin/sh
+
+if [ "$1" = "-ls" -o "$1" = "--list" ]; then
+   list=true
+fi
+
+test "$list" = true || tput smcup
+/usr/bin/screen "$@"
+test "$list" = true || tput rmcup