推荐使用 Darkblood ,因为和vs code 一起使用的话,vs里面展示的终端,这个看起来更兼容一些 符号少。主题需要下载字体和图标才好看。 卸载主题 清空里面的内容Microsoft.PowerShell_profile.ps1 即可。 Import-Moduleposh-gitImport-Moduleoh-my-poshSet-PoshPrompt-ThemeDarkblood...
('Cyan') Show-Color('Red') Show-Color('Magenta') Show-Color('Yellow') Show-Color('White') } # code $PROFILE set code "C:\Users\Reciter\AppData\Local\Programs\Microsoft VS Code\Code.exe" # set-alias d 'npm run dev' set-alias n 'nest' function gitpush ($m) { # git push ...
安装Oh My Posh,使用Power Shell 7运行特定命令完成安装,之后使用管理员权限重启终端。为了获得更好的阅读体验,推荐安装nerd字体,如cascadia code,其兼容性较好。在Windows terminal的设置中,将字体默认值更改为cascadia code。若已安装Vs code,可通过命令打开pwsh7的配置文件。在文件中,输入代码以更...
同样在oh-my-poshGitHub页面上,使用的字体是:我使用的字体是电力线字体,有一个great repository包含它...
Hi@JanDeDobbeleerwhat should I do with the code you posted at Thanks in advance! I hope it will work with you as it works with me. Hi. I've had the same issue during this week. I did the migration from the module to the winget version. It worked fine initially but I started see...
Indeed, it only happens inside of VS Code's Git Bash terminal. I noticed that this \ character disappears either after some commands are executed, or as soon as I simply resize the terminal window or even move the whole VS Code window. I will try to find out the solution on my own,...
set code "C:\Users\Reciter\AppData\Local\Programs\Microsoft VS Code\Code.exe" # set-alias d 'npm run dev' set-alias n 'nest' function gitpush ($m) { # git push 的简称 gp git add . git commit -m "$m" git push } function d { npm run dev } ...
Code of Conduct I agree to follow this project's Code of Conduct What happened? Hi, i have install oh my posh but when i try to start it by reload by run . $PROFILE in the PowerShell wont reload with new Themes instead i look like this: ...
(x86)\oh-my-posh\bin;C:\Program Files\Microsoft SQL Server\120\Tools\Binn\;C:\Program Files\Microsoft SQL Server\Client SDK\ODBC\130\Tools\Binn\;C:\Program Files\Microsoft VS Code\bin;C:\Program Files (x86)\Microsoft SQL Server\150\DTS\Binn\;C:\Program Files\Microsoft SQL Server\...
"{{ if gt .Code 0 }}#FF5252{{ end }}" ], "properties": { "always_enabled": true }, "style": "plain", "template": "\u276f ", "type": "exit" } ], "type": "prompt" } ], "version": 2 } oh-my-posh debug --config "$env:POSH_THEMES_PATH\powerlevel10k_classic.lz....