Table of Contents
1 Install byobu
Install byobu and tmux. The tmux is installed as backend.
$ sudo pacman -Sy –noconfirm git base-devel$ git clone cd byobu$ makepkg -s –noconfirm$ sudo pacman -Sy –noconfirm tmux$ sudo pacman -U –noconfirm ./*.pkg.tar.xz
2 PROMPT_COMMAND
Environment variable PROMPT_COMMAND sets window name of byobu, tmux and screen dynamically.
#!/bin/shcat <<EOF >> .bashrccase ${TERM} in screen*|vt*) # PROMPT_COMMAND on emacs duplicates prompt string. if [ -z “${INSIDE_EMACS}” ]; then export PROMPT_COMMAND=’printf “