From 56a490f460d6762075a95c9368d731ef97cc8eb6 Mon Sep 17 00:00:00 2001 From: Dustin Kirkland Date: Sun, 12 Jul 2009 13:49:16 -0500 Subject: [PATCH] prepend a # on the launching line, in case you scroll up through history and attempt to run it Signed-off-by: Dustin Kirkland --- byobu-launcher | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/byobu-launcher b/byobu-launcher index d8758685..9746a380 100755 --- a/byobu-launcher +++ b/byobu-launcher @@ -23,7 +23,7 @@ # Ensure that the PROMPT_COMMAND gets printed, such that gnome-terminal # and friends can pick it up before going into screen -[ -x /bin/bash ] && echo "echo 'Launching Byobu...'" | /bin/bash -i -s 2>/dev/null +[ -x /bin/bash ] && echo "echo '# Launching Byobu...'" | /bin/bash -i -s 2>/dev/null out=`screen -ls 2>/dev/null` || true if echo "$out" | grep -qsi "^No Sockets found in "; then