From e9edd2ba1ca4bf9c869236183f10ceab5e8b773a Mon Sep 17 00:00:00 2001 From: creme Date: Sat, 30 Nov 2019 21:32:13 +0100 Subject: [PATCH] update envs_toot and add post writes username. output looks like: username | your message --- bin/envs_toot | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/bin/envs_toot b/bin/envs_toot index 4f9b222..5343210 100755 --- a/bin/envs_toot +++ b/bin/envs_toot @@ -3,7 +3,7 @@ printf 'toot as envs.net\n\n' if [ -n "$1" ] && [ -z "$2" ]; then - sudo -u services /usr/bin/toot post "$1" + sudo -u services /usr/bin/toot post "$(id -un) | $1" else printf 'usage: envs_toot "your message"\n' fi