"name":"Ubuntu","source":"Windows.Terminal.Wsl","startingDirectory":"//wsl$/Ubuntu/home/byo"}//WSL为Ubuntu-18.04{"guid":"{c6eaf9f4-32a7-5fdc-b5cf-066e8a4b1e40}","hidden":false,"name":"Ubuntu-18.04","source":"Windows.Terminal.Wsl","startingDirectory":"//wsl$/Ubuntu-18.04/home/by...
01 WSL2 安装 1.1 启动WSL 以管理员身份启动Terminal 运行如下命令 dism.exe /online /enable-feature /featurename:Microsoft-Windows-Subsystem-Linux /all /norestart 1.2 启动虚拟机
alias ll='ls -alF'alias la='ls -A'alias l='ls -CF'# Add an"alert"aliasforlongrunning commands. Use like so: #sleep10; alert alias alert='notify-send --urgency=low -i "$([ $? = 0 ] && echo terminal || echo error)" "$(history|tail -n1|sed -e'\''s/^\s*[0-9]\+\s...
从Github上clone下配色方案 git clonehttps://github.com/tomasr/molokai.git 当然因为是刚安装的bash on ubuntu, git 还没有配置用户名和邮箱,需要先配置下,配置这个就略过不提了。 clone完以后得到一个molokai的文件夹,把文件夹内的colors文件夹里的molokai.vim拷贝出来cp -rf molokai/colors/ ./colors 创建v...
='c'|checktime|endif" notification after file changeautocmdFileChangedShellPost*\echohlWarningMsg|echo"File changed on disk. Buffer reloaded."|echohlNone"配置颜色(mac中注释掉前三行)if(has("termguicolors"))settermguicolorsendifsyntaxenablecolorschemedracula"配置目录树letg:NERDTreeShowHidden=1letg:...
[WSL] 解决了有关处理某些 Unicode 字符的问题: https://github.com/microsoft/terminal/issues/2770 [WSL] 解决了在版本到版本升级后立即启动时可能会注销发行版的罕见情况。 [WSL] 解决了 wsl.exe --shutdown 的以下小问题:无法取消实例空闲计时器。
如果希望始终保持 Windows Terminal 的主题颜色为暗色方案,而不跟随 Windows 系统亮暗主题:可以在globals项目下的requestedTheme属性中这样配置: {"globals":{"requestedTheme":"dark"}} 如果希望将 Ubuntu WSL 设置为 Windows Terminal 打开唤起的默认环境:可以复制 Ubuntu WSL Profile 中的guid,将之粘贴至globals项目...
修改Windows Terminal 的默认字体: fonts 四、oh-my-zh 插件 安装zsh-autosuggestions: git clone https://github.com/zsh-users/zsh-autosuggestions ${ZSH_CUSTOM:-~/.oh-my-zsh/custom}/plugins/zsh-autosuggestions 安装zsh-syntax-highlighting:
[WSL] 解决了有关处理某些 Unicode 字符的问题: https://github.com/microsoft/terminal/issues/2770 [WSL] 解决了在版本到版本升级后立即启动时可能会注销发行版的罕见情况。 [WSL] 解决了 wsl.exe --shutdown 的以下小问题:无法取消实例空闲计时器。
问我的WSL终端掉色了EN原因可能是修改了.bash_profile文件。尝试将这些代码行放入~/.bash_profile ...