Windows应用商店 程序下载
Windows 10 WSL2
https://blog.csdn.net/Mancuojie/article/details/120074919
https://ohmyposh.dev/docs/windows
Windows Terminal 分割窗口
Panes in Windows Terminal
https://docs.microsoft.com/en-us/windows/terminal/panes
Use Cygwin’s Shell or Git Bash in Windows Terminal
https://leo3418.github.io/2020/05/24/cygwin-git-bash-in-wt.html
{ "guid": "{a1f2ceb2-795d-4f2a-81cc-723cceec49c0}", "commandline": "C:/cygwin64/bin/bash.exe -i -l", "name": "Cygwin", "icon": "C:/cygwin64/Cygwin-Terminal.ico" }
cygwin并添加apt-cyg
https://www.cnblogs.com/feipeng8848/p/8555648.html
https://github.com/transcode-open/apt-cyg
Fix “failed to verify the legitimacy of the server” error with cURL
https://linuxpip.org/curl-failed-to-verify-the-legitimacy-of-the-server/
echo insecure >> $HOME/.curlrc
https://www.chrisyue.com/install-oh-my-zsh-on-cygwin.html
apt-cyg install zsh vim
使用choco install vim
zsh git vim 需要使用cygwin的 setup-x86_64.exe 来安装
否则会报错:Windows/MSYS Git is not supported on Cygwin
https://github.com/ohmyzsh/ohmyzsh
sh -c "$(curl -fsSL https://raw.githubusercontent.com/ohmyzsh/ohmyzsh/master/tools/install.sh)" "" --unattended
修改Windows Terminal中Cygwin菜单项的参数
{ "commandline": "C:/cygwin64/bin/zsh.exe -i -l", "guid": "{a1f2ceb2-795d-4f2a-81cc-723cceec49c0}", "icon": "C:/cygwin64/Cygwin-Terminal.ico", "name": "Cygwin" }
在~/.zshrc中开启 DISABLE_UNTRACKED_FILES_DIRTY="true" 加快启动速度
Powerlevel10k
https://github.com/romkatv/powerlevel10k