add tmux shell terminal multiplexer

This commit is contained in:
2024-12-01 21:44:40 +01:00
parent 59d1929692
commit 12d0a362b4
2 changed files with 3 additions and 1 deletions
+1 -1
View File
@@ -34,7 +34,7 @@ RUN mkdir -p "/root/.cache/crontab"
# Install packages # Install packages
RUN pacman-key --init RUN pacman-key --init
RUN pacman -Syu --noconfirm sudo bash-completion openssh neofetch \ RUN pacman -Syu --noconfirm sudo bash-completion openssh neofetch \
borgbackup dateutils prometheus-node-exporter wget git base-devel cron net-tools inetutils borgbackup dateutils prometheus-node-exporter wget git base-devel cron net-tools inetutils tmux
# Make Build User # Make Build User
RUN useradd builduser -m RUN useradd builduser -m
+2
View File
@@ -1,3 +1,5 @@
[ ! -z "$USE_TMUX_SHELL" ] && [[ -t 0 ]] && [ -z "$TMUX" ] && (exec tmux attach || exec tmux new-session && exit)
alias update='sudo pacman -Syu --noconfirm' alias update='sudo pacman -Syu --noconfirm'
export HISTTIMEFORMAT="%d/%m/%y %T " export HISTTIMEFORMAT="%d/%m/%y %T "