dialog about start tmux also at the end
This commit is contained in:
parent
60bf5bf467
commit
f3d51da34c
1 changed files with 13 additions and 1 deletions
14
bashrc_add
14
bashrc_add
|
@ -177,7 +177,19 @@ EOF
|
||||||
promptcommandmunge "_umask_hook"
|
promptcommandmunge "_umask_hook"
|
||||||
which direnv >/dev/null && eval "$(direnv hook bash)"
|
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}"
|
cat << EOF >> "${MYSHELLCONFIG_LOGFILE}"
|
||||||
==8<=== finished configure new shell ================ $(date) ===============8<==
|
==8<=== finished configure new shell ================ $(date) ===============8<==
|
||||||
|
|
||||||
|
|
Loading…
Reference in a new issue