Make it work from tmux, too.