tmux-for-windows/README.md
2022-05-22 00:14:25 +08:00

28 lines
607 B
Markdown

# Tmux for windows using wsl support
# Pre-request
- WSL
# Setup WSL
Install a new distro, alpine is recommended.\
Follow the basic instruction on installing it.\
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
```
# Install our program
Add the path you download our program to environment path.
# Setup our program
Add or edit file tmux.conf on the same folder of our program.
```
distro: alpine //your distro name
```
# Enjoy