From 57196c94796a4e5c122eb5836f2617588bec5560 Mon Sep 17 00:00:00 2001 From: Song Zheng Date: Mon, 10 Jul 2017 15:57:10 -0700 Subject: [PATCH 1/2] add chat --- .devBash | 6 ++++++ 1 file changed, 6 insertions(+) diff --git a/.devBash b/.devBash index d4abee6..b6f8768 100644 --- a/.devBash +++ b/.devBash @@ -43,4 +43,10 @@ alias .='cl ..' alias ..='cl ../..' alias ...='cl ../../..' +# Chat abilities (if multiple people are ssh'd in) +function chat { + echo $(whoami): "'$*'" >> /tmp/chat.log +} +alias openChat="echo System: $(whoami) joined >> /tmp/chat.log && tail -f /tmp/chat.log"$ +alias s=chat From 3ba76a00cbfa9c6cd5c04784ab70cca16048acda Mon Sep 17 00:00:00 2001 From: Song Zheng Date: Mon, 10 Jul 2017 16:15:18 -0700 Subject: [PATCH 2/2] fix bug --- .devBash | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/.devBash b/.devBash index b6f8768..bd38ffe 100644 --- a/.devBash +++ b/.devBash @@ -47,6 +47,6 @@ alias ...='cl ../../..' function chat { echo $(whoami): "'$*'" >> /tmp/chat.log } -alias openChat="echo System: $(whoami) joined >> /tmp/chat.log && tail -f /tmp/chat.log"$ +alias openChat="echo System: $(whoami) joined >> /tmp/chat.log && tail -f /tmp/chat.log" alias s=chat