{"id":5775,"date":"2022-05-14T15:32:48","date_gmt":"2022-05-14T07:32:48","guid":{"rendered":"https:\/\/damogame.cn:15443\/wordpress\/?p=5775"},"modified":"2022-05-25T18:26:16","modified_gmt":"2022-05-25T10:26:16","slug":"scoop-%e5%ae%89%e8%a3%85oh-my-posh%ef%bc%8c%e7%be%8e%e5%8c%96windows-terminal","status":"publish","type":"post","link":"https:\/\/i007.cc\/wordpress\/archives\/5775","title":{"rendered":"Scoop \u5b89\u88c5Oh My Posh\uff0c\u7f8e\u5316Windows Terminal"},"content":{"rendered":"<p><a href=\"https:\/\/ohmyposh.dev\/\">\u5b98\u7f51<\/a><\/p>\n<p>&nbsp;<\/p>\n<p>Download MesloLGM NF <a href=\"https:\/\/github.com\/ryanoasis\/nerd-fonts\/releases\/download\/v2.1.0\/Meslo.zip\">font<\/a><\/p>\n<p>Change your Windows Terminal&#8217;s font to<\/p>\n<pre class=\"EnlighterJSRAW\" data-enlighter-language=\"generic\">MesloLGM NF<\/pre>\n<p>&nbsp;<\/p>\n<pre class=\"EnlighterJSRAW\" data-enlighter-language=\"generic\">scoop install https:\/\/github.com\/JanDeDobbeleer\/oh-my-posh\/releases\/latest\/download\/oh-my-posh.json\r\nnotepad $PROFILE<\/pre>\n<p>\u4f1a\u521b\u5efaMicrosoft.PowerShell_profile.ps1\u6587\u4ef6\uff0c\u5728\u6b64\u6587\u4ef6\u4e2d\u6dfb\u52a0\u4ee5\u4e0b\u5185\u5bb9\uff1a<\/p>\n<pre class=\"EnlighterJSRAW\" data-enlighter-language=\"generic\">oh-my-posh init pwsh --config '~\/scoop\/apps\/oh-my-posh\/current\/themes\/wopian.omp.json' | Invoke-Expression<\/pre>\n<p>\u6211\u6bd4\u8f83\u559c\u6b22\u7684\u51e0\u79cd\u98ce\u683c\uff0c\u5f53\u524d\u7528\u7684\u6700\u540e\u4e00\u4e2a\uff1a<\/p>\n<pre class=\"EnlighterJSRAW\" data-enlighter-language=\"generic\">oh-my-posh init pwsh --config \"$(scoop prefix oh-my-posh)\\themes\\jandedobbeleer.omp.json\" | Invoke-Expression\r\noh-my-posh init pwsh --config \"$(scoop prefix oh-my-posh)\\themes\\powerline.omp.json\" | Invoke-Expression\r\noh-my-posh init pwsh --config \"$(scoop prefix oh-my-posh)\\themes\\aliens.omp.json\" | Invoke-Expression\r\noh-my-posh init pwsh --config \"$(scoop prefix oh-my-posh)\\themes\\hotstick.minimal.omp.json\" | Invoke-Expression<\/pre>\n<p>&nbsp;<\/p>\n","protected":false},"excerpt":{"rendered":"<p>\u5b98\u7f51 &nbsp; Download M<\/p>\n","protected":false},"author":1,"featured_media":0,"comment_status":"open","ping_status":"open","sticky":false,"template":"","format":"standard","meta":{"colormag_page_container_layout":"default_layout","colormag_page_sidebar_layout":"default_layout","footnotes":""},"categories":[24],"tags":[121],"class_list":["post-5775","post","type-post","status-publish","format-standard","hentry","category-value_docs","tag-05-"],"_links":{"self":[{"href":"https:\/\/i007.cc\/wordpress\/wp-json\/wp\/v2\/posts\/5775","targetHints":{"allow":["GET"]}}],"collection":[{"href":"https:\/\/i007.cc\/wordpress\/wp-json\/wp\/v2\/posts"}],"about":[{"href":"https:\/\/i007.cc\/wordpress\/wp-json\/wp\/v2\/types\/post"}],"author":[{"embeddable":true,"href":"https:\/\/i007.cc\/wordpress\/wp-json\/wp\/v2\/users\/1"}],"replies":[{"embeddable":true,"href":"https:\/\/i007.cc\/wordpress\/wp-json\/wp\/v2\/comments?post=5775"}],"version-history":[{"count":0,"href":"https:\/\/i007.cc\/wordpress\/wp-json\/wp\/v2\/posts\/5775\/revisions"}],"wp:attachment":[{"href":"https:\/\/i007.cc\/wordpress\/wp-json\/wp\/v2\/media?parent=5775"}],"wp:term":[{"taxonomy":"category","embeddable":true,"href":"https:\/\/i007.cc\/wordpress\/wp-json\/wp\/v2\/categories?post=5775"},{"taxonomy":"post_tag","embeddable":true,"href":"https:\/\/i007.cc\/wordpress\/wp-json\/wp\/v2\/tags?post=5775"}],"curies":[{"name":"wp","href":"https:\/\/api.w.org\/{rel}","templated":true}]}}