On Wed, Nov 25, 2015 at 12:38:22AM +0100, Rashad Kanavath wrote:
> Is there anyway I can run st with tmux or screen by default without the
> scroll patch in[2]  ?

I use tmux or screen regardless of the terminal emulator I use, so I
launch tmux as part of bashrc. The simplest way to do this would be to
have something like this in your shell initialization script:

    if [ -z "$TMUX" ]; then
        tmux && exit
    fi

I recommend doing the "&& exit" so if tmux isn't installed or is
otherwise broken, you'll still land in a functioning shell.

Eric

Reply via email to