add tmux shell terminal multiplexer
This commit is contained in:
+1
-1
@@ -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
|
||||||
|
|||||||
@@ -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 "
|
||||||
|
|||||||
Reference in New Issue
Block a user