注意:本文内容适用于 Tmux 2.3 及以上的版本,但是绝大部分的特性低版本也都适用,鼠标支持、VI 模式、插件管理在低版本可能会与本文不兼容。
启动新会话:
tmux [new -s 会话名 -n 窗口名]
恢复会话:
| name: BuildElectron | |
| on: | |
| workflow_dispatch: | |
| jobs: | |
| buildwin: | |
| name: BuildWindows | |
| runs-on: windows-latest | |
| steps: |
| #!/bin/bash | |
| # 配合定时脚本使用 | |
| # 订阅后台接口,建议自己搭建,参考 https://github.com/tindy2013/subconverter | |
| SERVER_API_URL="https://any.sub.domain/subconver" | |
| # 输出的目录位置, nginx 解析目录 | |
| OUTPUT_FOLDER="/www/wwwroot/sub.domain.com" | |
| # bark 推动提醒地址 |
| git config --global https.proxy http://127.0.0.1:1080 | |
| git config --global https.proxy https://127.0.0.1:1080 | |
| git config --global --unset http.proxy | |
| git config --global --unset https.proxy | |
| npm config delete proxy |