bash: improve history
zsh: add tmux-echo function