From f3d51da34c24bbe61d5329e919cb4653d86028a0 Mon Sep 17 00:00:00 2001 From: =?UTF-8?q?Jakobus=20Sch=C3=BCrz?= Date: Mon, 30 Nov 2020 08:07:17 +0100 Subject: [PATCH] dialog about start tmux also at the end --- bashrc_add | 14 +++++++++++++- 1 file changed, 13 insertions(+), 1 deletion(-) diff --git a/bashrc_add b/bashrc_add index e6c1f43..9322243 100755 --- a/bashrc_add +++ b/bashrc_add @@ -177,7 +177,19 @@ EOF promptcommandmunge "_umask_hook" which direnv >/dev/null && eval "$(direnv hook bash)" - ${STARTTMUX-$STARTTMUXDEFAULT} && tmux attach-session + if ${STARTTMUX-$STARTTMUXDEFAULT} ; then + cat << EOF + +"User: $USER - $UID" + +Starting or resuming screen session +Press CTRL+C to cancel screen startup + +EOF + sleep 1 + #screen -UxR + tmux attach-session + fi cat << EOF >> "${MYSHELLCONFIG_LOGFILE}" ==8<=== finished configure new shell ================ $(date) ===============8<==