我想设置一个tmux会话:
我仍然停留在第1步,我尝试了一下,但是没有用:
#!/bin/sh
tmux
tmux select-window -t0
tmux split-window -h
tmux split-window -v -t0
tmux split-window -v -t1
test_tmux.sh: line 2: $'tmux\r': command not found
failed to connect to server
tmux: unknown option --
usage: split-window [-dhvP] [-c start-directory] [-F format] [-p percentage|-l size] [-t target-pane] [command]
failed to connect to server
failed to connect to server