{"id":136984,"date":"2020-07-22T02:19:53","date_gmt":"2020-07-21T18:19:53","guid":{"rendered":"http:\/\/4563.org\/?p=136984"},"modified":"2020-07-22T02:19:53","modified_gmt":"2020-07-21T18:19:53","slug":"windows-terminal-%e4%bd%bf%e7%94%a8%e5%9b%b0%e6%83%91%ef%bc%8c%e8%af%b7%e6%8c%87%e7%82%b9%e4%b8%80%e4%ba%8c","status":"publish","type":"post","link":"http:\/\/4563.org\/?p=136984","title":{"rendered":"windows Terminal \u4f7f\u7528\u56f0\u60d1\uff0c\u8bf7\u6307\u70b9\u4e00\u4e8c"},"content":{"rendered":"<div>\n<div>\n<div>\n<h1>                  windows Terminal \u4f7f\u7528\u56f0\u60d1\uff0c\u8bf7\u6307\u70b9\u4e00\u4e8c               <\/h1>\n<p> <\/p>\n<div>\n<div> <span>\u8cc7\u6df1\u5927\u4f6c : deletemyself <\/span>  <span><i><\/i> 5<\/span> <\/div>\n<div> <\/div>\n<\/p><\/div>\n<\/p><\/div>\n<\/p><\/div>\n<div isfirst=\"1\"> <\/p>\n<p>\u7535\u8111\u5df2\u5b89\u88c5 git<br \/> \u7f18\u7531\uff1aidea \u4e2d\u4f7f\u7528 Terminal \u547d\u4ee4\u884c(\u8bbe\u7f6e\u4e3a git bash)commit \u4e2d\u6709\u6c49\u5b57\u63d0\u4ea4\u4f1a\u663e\u793a\u4e71\u7801\uff0cgit bash \u5ba2\u6237\u7aef\u63d0\u4ea4\u5c31\u6ca1\u95ee\u9898\uff1b<br \/> \u591a\u4e2a\u9879\u76ee\u5c31\u9700\u8981\u6765\u56de\u5207\u6362\u6216\u8005\u5f00\u591a\u4e2a\u7a97\u53e3\uff0c\u4f7f\u7528 Windows Terminal \u53ef\u4ee5\u6807\u7b7e\u663e\u793a\u53ea\u663e\u793a\u4e00\u4e2a\u7a97\u53e3\uff0c\u800c\u4e14\u5b89\u88c5 ohmyposh \u6548\u679c\u4e5f\u4e0d\u9519\uff0c\u4f46\u662f\u51fa\u73b0\u51e0\u4e2a\u4e2a\u95ee\u9898<br \/> 1 \u3001git \u8fde\u7eed\u547d\u4ee4\u4e0d\u8bc6\u522b &amp;&amp;\uff0c\u5982 git add . &amp;&amp; git commit -m &#8216;test&#8217; \u5c31\u4f1a\u62a5\u9519<br \/> 2 \u3001\u90e8\u5206\u5e38\u7528 linux \u547d\u4ee4\u4e0d\u8bc6\u522b \u5982 ll<\/p>\n<\/p><\/div>\n<div> <b>\u5927\u4f6c\u6709\u8a71\u8aaa<\/b> (<span>11<\/span>)        <\/div>\n<div> <\/div>\n<\/p><\/div>\n<\/p><\/div>\n<ul>\n<li data-pid=\"2552560\" data-uid=\"2\">\n<div>\n<div>\n<div> <span>\u8cc7\u6df1\u5927\u4f6c : codehz <\/span>  <\/div>\n<div> <i title=\"\u5f15\u7528\"><\/i>  <span>          <\/span> <\/div>\n<\/p><\/div>\n<div>                                                             powershell \u7684\u8bed\u6cd5\u4e0d\u4e00\u6837&#8230;\u4e0d\u662f cmd                                                            <\/div>\n<\/p><\/div>\n<\/li>\n<li data-pid=\"2552561\" data-uid=\"2\">\n<div>\n<div>\n<div> <span>\u8cc7\u6df1\u5927\u4f6c : iamwho <\/span>  <\/div>\n<div> <i title=\"\u5f15\u7528\"><\/i>  <span>          <\/span> <\/div>\n<\/p><\/div>\n<div>                                                             1. git add . ; git commit -m &#8216;test&#8217;<br \/>2. ll \u53ea\u662f ls \u9644\u52a0\u4e86\u53c2\u6570\u7684\u522b\u540d\u3002set-alias ll get-childitem [args]                                                            <\/div>\n<\/p><\/div>\n<\/li>\n<li data-pid=\"2552562\" data-uid=\"2\">\n<div>\n<div>\n<div> <span>\u8cc7\u6df1\u5927\u4f6c : Jirajine <\/span>  <\/div>\n<div> <i title=\"\u5f15\u7528\"><\/i>  <span>          <\/span> <\/div>\n<\/p><\/div>\n<div>                                                             \u56e0\u4e3a PowerShell \u91cc\u7684\u547d\u4ee4\u90fd\u662f\u5047\u7684\uff0c\u8ddf\u4f60\u4e60\u60ef\u7684 unix \u547d\u4ee4\u884c\u4e0d\u662f\u4e00\u4e2a\u4e1c\u897f\u3002<br \/>\u8f93\u5165 gal \u5c31\u53ef\u4ee5\u770b\u5230\u8fd9\u4e9b\u7cca\u5f04\u4f60\u7684\u522b\u540d\u3002<br \/>\u5efa\u8bae\u4f60\u628a git bash \u8bbe\u4e3a\u9ed8\u8ba4\u7684 shell                                                            <\/div>\n<\/p><\/div>\n<\/li>\n<li data-pid=\"2552563\" data-uid=\"2\">\n<div>\n<div>\n<div> <span>\u8cc7\u6df1\u5927\u4f6c : Tumblr <\/span>  <\/div>\n<div> <i title=\"\u5f15\u7528\"><\/i>  <span>          <\/span> <\/div>\n<\/p><\/div>\n<div>                                                             \u4e00\u76f4\u7528 Windows Terminal + PowerShell 7\uff0c\u4e5f\u5728\u7528 git \uff08 mini git \u6dfb\u52a0\u5230\u8def\u5f84\uff09\uff0c\u6ca1\u51fa\u73b0\u8fc7\u8fd9\u7c7b\u7684\u60c5\u51b5\u3002<br \/>\u5e26\u4e2d\u6587\u7684\u8bdd\uff0c\u7f16\u7801\u4e00\u76f4\u662f\u4e2a\u86ee\u5934\u75bc\u7684\u95ee\u9898\uff0c\u76ee\u6d4b\u4f60\u7684\u53ef\u80fd\u662f\u56e0\u4e3a encoding \u7684\u95ee\u9898\u5bfc\u81f4\u7684\u3002                                                            <\/div>\n<\/p><\/div>\n<\/li>\n<li data-pid=\"2552564\" data-uid=\"2\">\n<div>\n<div>\n<div> <span>\u8cc7\u6df1\u5927\u4f6c : MaCreee <\/span>  <\/div>\n<div> <i title=\"\u5f15\u7528\"><\/i>  <span>          <\/span> <\/div>\n<\/p><\/div>\n<div>                                                             \u5173\u4e8e\u4e71\u7801\u7684\u89e3\u51b3\u65b9\u6848<br \/>https:\/\/blog.csdn.net\/FollowGodSteps\/article\/details\/96271359                                                            <\/div>\n<\/p><\/div>\n<\/li>\n<li data-pid=\"2552565\" data-uid=\"2\">\n<div>\n<div>\n<div> <span>\u8cc7\u6df1\u5927\u4f6c : frantic <\/span>  <\/div>\n<div> <i title=\"\u5f15\u7528\"><\/i>  <span>          <\/span> <\/div>\n<\/p><\/div>\n<div>                                                             \u8bd5\u8bd5 wsl + zsh                                                            <\/div>\n<\/p><\/div>\n<\/li>\n<li data-pid=\"2552566\" data-uid=\"2\">\n<div>\n<div>\n<div> <span>\u8cc7\u6df1\u5927\u4f6c : cweijan <\/span>  <\/div>\n<div> <i title=\"\u5f15\u7528\"><\/i>  <span>          <\/span> <\/div>\n<\/p><\/div>\n<div>                                                             \u5efa\u8bae\u5728\u8bbe\u7f6e\u4e2d\u5c06\u9ed8\u8ba4\u7ec8\u7aef\u6539\u4e3a, PowerShell \u5c31\u662f\u72d7\u5c4e<br \/>git \u4e2d\u6587\u4e71\u7801\u9700\u8981\u8bbe\u7f6e: git config &#8211;global core.quotepath false                                                            <\/div>\n<\/p><\/div>\n<\/li>\n<li data-pid=\"2552567\" data-uid=\"2\">\n<div>\n<div>\n<div> <span>\u8cc7\u6df1\u5927\u4f6c : cweijan <\/span>  <\/div>\n<div> <i title=\"\u5f15\u7528\"><\/i>  <span>          <\/span> <\/div>\n<\/p><\/div>\n<div>                                                             \u5efa\u8bae\u5728\u8bbe\u7f6e\u4e2d\u5c06\u9ed8\u8ba4\u7ec8\u7aef\u6539\u4e3a CMD, PowerShell \u5c31\u662f\u72d7\u5c4e<br \/>git \u4e2d\u6587\u4e71\u7801\u9700\u8981\u8bbe\u7f6e: git config &#8211;global core.quotepath false                                                            <\/div>\n<\/p><\/div>\n<\/li>\n<li data-pid=\"2552568\" data-uid=\"2\">\n<div>\n<div>\n<div> <span>\u8cc7\u6df1\u5927\u4f6c : jin7 <\/span>  <\/div>\n<div> <i title=\"\u5f15\u7528\"><\/i>  <span>          <\/span> <\/div>\n<\/p><\/div>\n<div>                                                             cmd \u66f4\u5dee, \u53ef\u4ee5\u7528 pwsh 7, \u5b83\u652f\u6301&amp;&amp;                                                             <\/div>\n<\/p><\/div>\n<\/li>\n<li data-pid=\"2552569\" data-uid=\"2\">\n<div>\n<div>\n<div> <span>\u8cc7\u6df1\u5927\u4f6c : KuroNekoFan <\/span>  <\/div>\n<div> <i title=\"\u5f15\u7528\"><\/i>  <span>          <\/span> <\/div>\n<\/p><\/div>\n<div>                                                             ||\u7528 git bash \u554a                                                            <\/div>\n<\/p><\/div>\n<\/li>\n<li data-pid=\"2552570\" data-uid=\"2\">\n<div>\n<div>\n<div> <span>\u8cc7\u6df1\u5927\u4f6c : aliao0019 <\/span>  <\/div>\n<div> <i title=\"\u5f15\u7528\"><\/i>  <span>          <\/span> <\/div>\n<\/p><\/div>\n<div>                                                             wsl \u7136\u540e\u7528 wsl \u91cc\u7684 whatever shell you like                                                            <\/div>\n<\/p><\/div>\n<\/li>\n<li>\n","protected":false},"excerpt":{"rendered":"<p>windows Terminal &hellip;<\/p>\n","protected":false},"author":1,"featured_media":0,"comment_status":"open","ping_status":"open","sticky":false,"template":"","format":"standard","meta":[],"categories":[],"tags":[],"_links":{"self":[{"href":"http:\/\/4563.org\/index.php?rest_route=\/wp\/v2\/posts\/136984"}],"collection":[{"href":"http:\/\/4563.org\/index.php?rest_route=\/wp\/v2\/posts"}],"about":[{"href":"http:\/\/4563.org\/index.php?rest_route=\/wp\/v2\/types\/post"}],"author":[{"embeddable":true,"href":"http:\/\/4563.org\/index.php?rest_route=\/wp\/v2\/users\/1"}],"replies":[{"embeddable":true,"href":"http:\/\/4563.org\/index.php?rest_route=%2Fwp%2Fv2%2Fcomments&post=136984"}],"version-history":[{"count":0,"href":"http:\/\/4563.org\/index.php?rest_route=\/wp\/v2\/posts\/136984\/revisions"}],"wp:attachment":[{"href":"http:\/\/4563.org\/index.php?rest_route=%2Fwp%2Fv2%2Fmedia&parent=136984"}],"wp:term":[{"taxonomy":"category","embeddable":true,"href":"http:\/\/4563.org\/index.php?rest_route=%2Fwp%2Fv2%2Fcategories&post=136984"},{"taxonomy":"post_tag","embeddable":true,"href":"http:\/\/4563.org\/index.php?rest_route=%2Fwp%2Fv2%2Ftags&post=136984"}],"curies":[{"name":"wp","href":"https:\/\/api.w.org\/{rel}","templated":true}]}}