start new:
tmux
start new with session name:
tmux new -s myname
RED=$'\e[31;40m' | |
BLUE=$'\e[0;34m' | |
D=$'\e[37;40m' # set this to what makes sense for your terminal color scheme | |
shopt -s histappend | |
pre_prompt() { | |
local exit_code=$?; | |
history -a; | |
history -n; |
As configured in my dotfiles.
start new:
tmux
start new with session name: