avoid tmux-specific functionality when outside tmux