Skip to content

smarttommyau/tmux-for-windows

Folders and files

NameName
Last commit message
Last commit date

Latest commit

 

History

11 Commits
 
 
 
 
 
 
 
 

Repository files navigation

Tmux for windows using wsl support

Pre-request

  • WSL

Setup WSL

Install a new distro(as the backend), alpine is recommended(it is lightweight).
Follow the basic instruction on installing it. Official guide
Then install tmux.
Alpine : apk update&&apk add tmux
Debian/Ubuntu: apt install tmux

Add new file ~/.profile with this code to automatically run powershell in tmux sessions

if [ -n "$TMUX" ]; then
        pwsh.exe
fi

You can change "pwsh.exe" to other shell (e.g cmd.exe, bash.exe, sh.exe, etc)

Installation

Download our program

Download

Setup our program

Add the path you download our program to environment path. Article about this

!!!! Remember to restart the terminal after added to environment path.

Setup config

Add or edit file tmux.conf with your favourite editor on the same folder of our program.

distro: alpine //your distro name of the backend distro

currently only one parms is required and used

Enjoy