{"id":158637,"date":"2020-09-11T20:04:13","date_gmt":"2020-09-11T12:04:13","guid":{"rendered":"http:\/\/4563.org\/?p=158637"},"modified":"2020-09-11T20:04:13","modified_gmt":"2020-09-11T12:04:13","slug":"%e6%b1%82%e6%95%99-macos-%e4%b8%8b%e6%9c%89%e7%b1%bb%e4%bc%bc-windows-%e4%b8%8b-start-%e5%91%bd%e4%bb%a4%e7%9a%84%e5%90%97","status":"publish","type":"post","link":"http:\/\/4563.org\/?p=158637","title":{"rendered":"\u6c42\u6559 macOS \u4e0b\u6709\u7c7b\u4f3c windows \u4e0b start \u547d\u4ee4\u7684\u5417"},"content":{"rendered":"<div>\n<div>\n<div>\n<h1>                  \u6c42\u6559 macOS \u4e0b\u6709\u7c7b\u4f3c windows \u4e0b start \u547d\u4ee4\u7684\u5417               <\/h1>\n<p> <\/p>\n<div>\n<div> <span>\u8cc7\u6df1\u5927\u4f6c : siwadiya <\/span>  <span><i><\/i> 3<\/span> <\/div>\n<div> <\/div>\n<\/p><\/div>\n<\/p><\/div>\n<\/p><\/div>\n<div isfirst=\"1\">                        \u7528\u6765\u542f\u52a8\u4e00\u4e9b\u7a0b\u5e8f<br \/>\u521d\u7528 macOS,\u611f\u89c9\u5404\u79cd\u4e0d\u4e60\u60ef      <\/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=\"3395983\" data-uid=\"2\">\n<div>\n<div>\n<div> <span>\u8cc7\u6df1\u5927\u4f6c : dingdangnao <\/span>  <\/div>\n<div> <i title=\"\u5f15\u7528\"><\/i>  <span>          <\/span> <\/div>\n<\/p><\/div>\n<div>                                                             open ?                                                            <\/div>\n<\/p><\/div>\n<\/li>\n<li data-pid=\"3395984\" data-uid=\"2\">\n<div>\n<div>\n<div> <span>\u8cc7\u6df1\u5927\u4f6c : IgniteWhite <\/span>  <\/div>\n<div> <i title=\"\u5f15\u7528\"><\/i>  <span>          <\/span> <\/div>\n<\/p><\/div>\n<div>                                                             \u542f\u52a8\u7684\u8bdd\u5e94\u8be5\u7528 unix \u601d\u8def\u8003\u8651\u2026\u2026\u4e0a\u8bf4\u7684\u4e0d\u9519\u3002<br \/>\u73af\u5883\u53d8\u91cf\u53ea\u8981\u4f60\u7b2c\u4e09\u65b9\u8f6f\u4ef6\u5b89\u88c5\u53ef\u9760\uff0c\u5b83\u5c31\u4f1a\u628a\u81ea\u5df1\u7684 bin \u52a0\u5230 PATH \u91cc                                                            <\/div>\n<\/p><\/div>\n<\/li>\n<li data-pid=\"3395985\" data-uid=\"2\">\n<div>\n<div>\n<div> <span>\u8cc7\u6df1\u5927\u4f6c : ys0290 <\/span>  <\/div>\n<div> <i title=\"\u5f15\u7528\"><\/i>  <span>          <\/span> <\/div>\n<\/p><\/div>\n<div>                                                             cmd+\u7a7a\u683c\uff1f                                                            <\/div>\n<\/p><\/div>\n<\/li>\n<li data-pid=\"3395986\" data-uid=\"2\">\n<div>\n<div>\n<div> <span>\u8cc7\u6df1\u5927\u4f6c : ooops <\/span>  <\/div>\n<div> <i title=\"\u5f15\u7528\"><\/i>  <span>          <\/span> <\/div>\n<\/p><\/div>\n<div>                                                             spotlight \u4e0d\u9999\u4e48\uff0c\u8fd8\u6709 launchbar \u548c Alfred                                                            <\/div>\n<\/p><\/div>\n<\/li>\n<li data-pid=\"3395987\" data-uid=\"2\">\n<div>\n<div>\n<div> <span>\u4e3b<\/span> <span>\u8cc7\u6df1\u5927\u4f6c : siwadiya <\/span>  <\/div>\n<div> <i title=\"\u5f15\u7528\"><\/i>  <span>          <\/span> <\/div>\n<\/p><\/div>\n<div>                                                             @dingdangnao \u611f\u8c22,\u6709\u601d\u8def\u4e86                                                            <\/div>\n<\/p><\/div>\n<\/li>\n<li data-pid=\"3395988\" data-uid=\"2\">\n<div>\n<div>\n<div> <span>\u8cc7\u6df1\u5927\u4f6c : RIDESU <\/span>  <\/div>\n<div> <i title=\"\u5f15\u7528\"><\/i>  <span>          <\/span> <\/div>\n<\/p><\/div>\n<div>                                                             tell application &#8220;***&#8221;<br \/>activate<br \/>end tell                                                            <\/div>\n<\/p><\/div>\n<\/li>\n<li data-pid=\"3395989\" data-uid=\"2\">\n<div>\n<div>\n<div> <span>\u8cc7\u6df1\u5927\u4f6c : ruby109 <\/span>  <\/div>\n<div> <i title=\"\u5f15\u7528\"><\/i>  <span>          <\/span> <\/div>\n<\/p><\/div>\n<div>                                                             \u7b2c\u4e00\u6761\u7684\u8bdd\u641c\u4e00\u4e0b Go2Shell \u8fd9\u4e2a\u8f6f\u4ef6<br \/>\u7b2c\u4e8c\u6761\u7684\u8bdd\u4f60\u7528\u7684 iterm2 \u53ef\u80fd\u662f\u653e\u5728\u4e86.zsh \u91cc                                                            <\/div>\n<\/p><\/div>\n<\/li>\n<li data-pid=\"3395990\" data-uid=\"2\">\n<div>\n<div>\n<div> <span>\u4e3b<\/span> <span>\u8cc7\u6df1\u5927\u4f6c : siwadiya <\/span>  <\/div>\n<div> <i title=\"\u5f15\u7528\"><\/i>  <span>          <\/span> <\/div>\n<\/p><\/div>\n<div>                                                             @IgniteWhite \u5b89\u88c5\u7684\u8f6f\u4ef6\u53bb\u54ea\u627e bin \u76ee\u5f55\u554a,\u6bd4\u5982\u6211\u88c5\u7684 vscode,\u6253\u5f00\u8f6f\u4ef6\u5305\u53ea\u6709\u4e00\u4e2a contents \u76ee\u5f55                                                            <\/div>\n<\/p><\/div>\n<\/li>\n<li data-pid=\"3395991\" data-uid=\"2\">\n<div>\n<div>\n<div> <span>\u8cc7\u6df1\u5927\u4f6c : IgniteWhite <\/span>  <\/div>\n<div> <i title=\"\u5f15\u7528\"><\/i>  <span>          <\/span> <\/div>\n<\/p><\/div>\n<div>                                                             @siwadiya .app \u7684\u662f\u6253\u5305\u597d\u7684\uff0c\u6e90\u7801\u90fd\u5728 contents \u91cc\u4e86\uff0c\u4e0d\u7528\u627e bin \u3002\u6bd4\u5982\u4f60\u7684 app \u53eb Visual Studio Code\uff0c\u7528\u8fd9\u4e2a\u547d\u4ee4\u6253\u5f00\uff1a<br \/>$ open &#8220;Visual Studio Code&#8221;<br \/>\u53cc\u5f15\u53f7\u56e0\u4e3a\u91cc\u9762\u6709\u7a7a\u683c\u3002<\/p>\n<p>\u5982\u679c\u4f60\u8981\u7528\u5b83\u6253\u5f00 Downloads \u6587\u4ef6\u5939\u91cc\u7684 test.py \uff0c\u7528\u8fd9\u4e2a\u547d\u4ee4\uff1a<br \/>$ open Downloads\/test.py -a &#8220;Visual Studio Code&#8221;<br \/>\u5f53\u7136\u8fd9\u5047\u8bbe\u4f60\u7684 pwd \u662f~\u3002<\/p>\n<p>\u6709\u4e9b\u8f6f\u4ef6\uff0c\u6bd4\u5982 macvim \u548c mactex\uff0c\u662f\u6709\u5b83\u4eec\u81ea\u5df1\u7684\u6e90\u7801 bin \u7684\u3002<\/p>\n<p>\u6bd4\u5982 macvim\uff0c\u4f60\u7528\u5b98\u7f51 installer \u6216\u8005 homebrew \u5b89\u88c5\u4e86\u5b83\uff0c\u5b83\u5b9e\u8d28\u4e0a\u4f1a\u50cf linux \u548c win \u7684\u684c\u9762\u7cfb\u7edf\u4e00\u6837\uff0c\u88c5 vim \u548c gvim\uff0c\u88c5\u5230 \/usr\/local\/bin \u91cc\u3002\u4f60\u5230 \/Application \u91cc\u4f1a\u53d1\u73b0 macvim.app \uff0c\u4e0d\u8fc7\u5b83\u662f\u4e00\u4e2a link \uff08\u7528 win \u7684\u8bdd\u8bf4\u53eb\u5feb\u6377\u65b9\u5f0f\uff09\uff0c\u94fe\u63a5\u5230 \/usr\/local\/bin\/gvim \u90a3\u91cc\u3002\u5f88\u591a\u8fd9\u4e00\u7c7b\u7b2c\u4e09\u65b9\u8f6f\u4ef6\u4f1a\u88c5\u5230 \/usr\/local \u91cc\u9762\uff0c\u8fd9\u662f macOS \u9884\u7559\u7684\u4f4d\u7f6e\u3002\u6700\u8fd1\u4e24\u4ee3 macOS\uff0ccatalina \u548c big sur\uff0c\u5206\u5f00\u4e86\u7cfb\u7edf\u76d8\u548c\u6570\u636e\u76d8\uff0c\u7b56\u7565\u6bd4\u8f83\u590d\u6742\uff0c\u52a0\u4e0a SIP \u7684\u95ee\u9898\uff0c\u5c31\u66f4\u52a0\u590d\u6742\u3002v \u7ad9\u91cc\u6709\u5f88\u591a\u76f8\u5173\u5e16\u5b50\u53bb\u641c\u4e00\u4e0b\u3002<\/p>\n<p>\u518d\u6bd4\u5982 mactex \u662f\u53e6\u4e00\u7c7b\u4ee3\u8868\uff0c\u4f60\u5b89\u88c5\u4e86\u5b83\u4e4b\u540e\uff0c\u5b83\u4f1a\u5728\u4f60\u7684.bash_profile \u91cc\u9762\u7ed9 PATH \u6ce8\u5165 \/Library\/TeX\/texbin\uff0c\u5982\u679c\u6ca1\u6709\u6ce8\u5165\u7684\u8bdd\u5c31\u4f1a\u51fa\u73b0\u4e0d\u80fd\u542f\u52a8\u7684\u60c5\u51b5\u3002\u50cf\u8fd9\u79cd\u4f60\u5c31\u9700\u8981\u7559\u610f\u4e00\u4e0b\u3002\u8fd8\u6709\u8457\u540d\u7684 anaconda\uff0c\u5b89\u88c5\u4e4b\u540e\u4f1a\u5728\u4f60\u7684.bash_profile \u91cc\u9762\u7559\u4e0b\u4e09\u56db\u884c\u5f88\u8ba8\u538c\u7684\u4e1c\u897f\u3002<\/p>\n<p>\u53e6\u5916\uff0c\u6211\u4e2a\u4eba\u662f\u628a macOS \u548c linux \u7684 bashrc \u7edf\u4e00\u770b\u5f85\u548c\u7ba1\u7406\u7684\uff0c\u6709\u7279\u6b8a\u7684\u8bbe\u7f6e\u7684\u8bdd\u5c31\u4e13\u95e8\u5728\u91cc\u9762\u52a0\u4e00\u884c source\uff0c\u8bfb\u53d6\u672c\u5730\u914d\u7f6e\u3002\u53ef\u4ee5\u53c2\u8003\u6211\u7684\u914d\u7f6e\uff1a https:\/\/github.com\/g6ai\/dotfiles \u6211\u4e0d\u662f\u4e13\u4e1a\u7a0b\u5e8f\u5458\uff0c\u91cc\u9762\u5185\u5bb9\u5f88\u7b80\u5355\u89c1\u7b11\u5566                                                            <\/p><\/div>\n<\/p><\/div>\n<\/li>\n<li data-pid=\"3395992\" data-uid=\"2\">\n<div>\n<div>\n<div> <span>\u8cc7\u6df1\u5927\u4f6c : IgniteWhite <\/span>  <\/div>\n<div> <i title=\"\u5f15\u7528\"><\/i>  <span>          <\/span> <\/div>\n<\/p><\/div>\n<div>                                                             \u4e0a\u6709\u4eba\u7ed9\u51fa\u7684 AppleScript \u4e5f\u662f\u5f88\u597d\u7684\u65b9\u5f0f\u3002\/Application \u91cc\u7684\u4e1c\u897f\u662f\u7cfb\u7edf\u9ed8\u8ba4\u4f1a\u67e5\u770b\u7684\u3002Automator \u4e5f\u662f macOS \u91cc\u9762\u5f88\u7279\u8272\u7684\u8f6f\u4ef6\uff0c\u7ed3\u5408 AppleScript \u548c shell script \u80fd\u505a\u5f88\u591a\u82b1\u5f0f\u7684\u4e1c\u897f\u3002\u4e0d\u77e5\u9053\u4e3b\u7684\u5177\u4f53\u9700\u6c42\u662f\u4ec0\u4e48\uff1f                                                            <\/div>\n<\/p><\/div>\n<\/li>\n<li data-pid=\"3395993\" data-uid=\"2\">\n<div>\n<div>\n<div> <span>\u8cc7\u6df1\u5927\u4f6c : SoloCompany <\/span>  <\/div>\n<div> <i title=\"\u5f15\u7528\"><\/i>  <span>          <\/span> <\/div>\n<\/p><\/div>\n<div>                                                             open -a                                                            <\/div>\n<\/p><\/div>\n<\/li>\n<li>\n","protected":false},"excerpt":{"rendered":"<p>\u6c42\u6559 macOS \u4e0b\u6709\u7c7b\u4f3c win&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\/158637"}],"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=158637"}],"version-history":[{"count":0,"href":"http:\/\/4563.org\/index.php?rest_route=\/wp\/v2\/posts\/158637\/revisions"}],"wp:attachment":[{"href":"http:\/\/4563.org\/index.php?rest_route=%2Fwp%2Fv2%2Fmedia&parent=158637"}],"wp:term":[{"taxonomy":"category","embeddable":true,"href":"http:\/\/4563.org\/index.php?rest_route=%2Fwp%2Fv2%2Fcategories&post=158637"},{"taxonomy":"post_tag","embeddable":true,"href":"http:\/\/4563.org\/index.php?rest_route=%2Fwp%2Fv2%2Ftags&post=158637"}],"curies":[{"name":"wp","href":"https:\/\/api.w.org\/{rel}","templated":true}]}}