From 15c8c7e9d458fe6d1ed0f2b76fb00769179b415f Mon Sep 17 00:00:00 2001 From: rwxrob Date: Sat, 24 Jun 2023 22:43:44 -0400 Subject: [PATCH] Fix coworking script --- scripts/cowork | 2 -- scripts/coworking | 7 ++----- scripts/extract | 0 scripts/zones | 0 4 files changed, 2 insertions(+), 7 deletions(-) delete mode 100755 scripts/cowork create mode 100644 scripts/extract create mode 100755 scripts/zones diff --git a/scripts/cowork b/scripts/cowork deleted file mode 100755 index 5fb07ea..0000000 --- a/scripts/cowork +++ /dev/null @@ -1,2 +0,0 @@ -#!/bin/sh -t 'Coworking/Coffee/Ranting #pomo #k8s #devops #tmux #vim #go #python #perl #shell' diff --git a/scripts/coworking b/scripts/coworking index 03a7894..0fa9ee3 100755 --- a/scripts/coworking +++ b/scripts/coworking @@ -1,10 +1,7 @@ #!/usr/bin/env bash -clear=$'\033[2J' - -trap "setterm --cursor on; echo ${clear}; exit; trap -- - SIGINT SIGTERM" SIGTERM SIGINT - -echo "${clear}" +trap "setterm --cursor on; clear; exit; trap -- - SIGINT SIGTERM" SIGTERM SIGINT +clear zet view disclaimer now setterm --cursor off diff --git a/scripts/extract b/scripts/extract new file mode 100644 index 0000000..e69de29 diff --git a/scripts/zones b/scripts/zones new file mode 100755 index 0000000..e69de29