注意:本文内容适用于 Tmux 2.3 及以上的版本,但是绝大部分的特性低版本也都适用,鼠标支持、VI 模式、插件管理在低版本可能会与本文不兼容。
启动新会话:
tmux [new -s 会话名 -n 窗口名]
恢复会话:
More recent resolution: | |
1. cd ~/../../etc (go to etc folder in WSL). | |
2. echo "[network]" | sudo tee wsl.conf (Create wsl.conf file and add the first line). | |
3. echo "generateResolvConf = false" | sudo tee -a wsl.conf (Append wsl.conf the next line). | |
4. wsl --terminate Debian (Terminate WSL in Windows cmd, in case is Ubuntu not Debian). | |
5. cd ~/../../etc (go to etc folder in WSL). | |
6. sudo rm -Rf resolv.conf (Delete the resolv.conf file). | |
7. In windows cmd, ps or terminal with the vpn connected do: Get-NetIPInterface or ipconfig /all for get the dns primary and | |
secondary. |
<key name="Palette4" modified="2016-08-07 14:21:13" build="160724"> | |
<value name="Name" type="string" data="DarkConEmu"/> | |
<value name="ExtendColors" type="hex" data="01"/> | |
<value name="ExtendColorIdx" type="hex" data="0f"/> | |
<value name="TextColorIdx" type="hex" data="0f"/> | |
<value name="BackColorIdx" type="hex" data="0d"/> | |
<value name="PopTextColorIdx" type="hex" data="0d"/> | |
<value name="PopBackColorIdx" type="hex" data="0d"/> | |
<value name="ColorTable00" type="dword" data="001e1e1e"/> | |
<value name="ColorTable01" type="dword" data="00cc7a00"/> |