avatar
Published on

Mac Env Config

Authors
  • avatar
    Name
    Bell
    Twitter

记录迁移电脑 mac pro → mac air

环境:

  1. ITerm2 安装

     迁移 配置文件

    • json 文件

      {
      "Profiles": [
      {
        "Ansi 3 Color" : {
          "Green Component" : 0.73333334922790527,
          "Blue Component" : 0,
          "Red Component" : 0.73333334922790527
        },
        "Tags" : [
      
        ],
        "Ansi 12 Color" : {
          "Green Component" : 0.3333333432674408,
          "Blue Component" : 1,
          "Red Component" : 0.3333333432674408
        },
        "Normal Font" : "Monaco 12",
        "Draw Powerline Glyphs" : true,
        "Bold Color" : {
          "Green Component" : 1,
          "Blue Component" : 1,
          "Red Component" : 1
        },
        "Ansi 2 Color" : {
          "Green Component" : 0.73333334922790527,
          "Blue Component" : 0,
          "Red Component" : 0
        },
        "Right Option Key Sends" : 0,
        "Ansi 6 Color" : {
          "Green Component" : 0.73333334922790527,
          "Blue Component" : 0.73333334922790527,
          "Red Component" : 0
        },
        "Rows" : 25,
        "Default Bookmark" : "No",
        "Non-ASCII Anti Aliased" : true,
        "Use Bright Bold" : true,
        "Ansi 10 Color" : {
          "Green Component" : 1,
          "Blue Component" : 0.3333333432674408,
          "Red Component" : 0.3333333432674408
        },
        "Ambiguous Double Width" : false,
        "Jobs to Ignore" : [
          "rlogin",
          "ssh",
          "slogin",
          "telnet"
        ],
        "Ansi 15 Color" : {
          "Green Component" : 1,
          "Blue Component" : 1,
          "Red Component" : 1
        },
        "Foreground Color" : {
          "Red Component" : 0.62425789190456271,
          "Color Space" : "sRGB",
          "Blue Component" : 0.6954802435747609,
          "Alpha Component" : 1,
          "Green Component" : 0.778656005859375
        },
        "Working Directory" : "\/Users\/beier",
        "Blinking Cursor" : false,
        "Disable Window Resizing" : true,
        "Sync Title" : false,
        "Prompt Before Closing 2" : false,
        "BM Growl" : true,
        "Command" : "",
        "Description" : "Default",
        "Mouse Reporting" : true,
        "Screen" : -1,
        "Selection Color" : {
          "Green Component" : 0.8353000283241272,
          "Blue Component" : 1,
          "Red Component" : 0.70980000495910645
        },
        "Columns" : 80,
        "Idle Code" : 0,
        "Ansi 13 Color" : {
          "Green Component" : 0.3333333432674408,
          "Blue Component" : 1,
          "Red Component" : 1
        },
        "Custom Command" : "No",
        "ASCII Anti Aliased" : true,
        "Non Ascii Font" : "Monaco 12",
        "Vertical Spacing" : 1,
        "Use Bold Font" : true,
        "Option Key Sends" : 0,
        "Selected Text Color" : {
          "Green Component" : 0,
          "Blue Component" : 0,
          "Red Component" : 0
        },
        "Background Color" : {
          "Green Component" : 0,
          "Blue Component" : 0,
          "Red Component" : 0
        },
        "Character Encoding" : 4,
        "Ansi 11 Color" : {
          "Green Component" : 1,
          "Blue Component" : 0.3333333432674408,
          "Red Component" : 1
        },
        "Use Italic Font" : true,
        "Unlimited Scrollback" : false,
        "Keyboard Map" : {
          "0xf700-0x260000" : {
            "Action" : 10,
            "Text" : "[1;6A"
          },
          "0x37-0x40000" : {
            "Action" : 11,
            "Text" : "0x1f"
          },
          "0x32-0x40000" : {
            "Action" : 11,
            "Text" : "0x00"
          },
          "0xf709-0x20000" : {
            "Action" : 10,
            "Text" : "[17;2~"
          },
          "0xf70c-0x20000" : {
            "Action" : 10,
            "Text" : "[20;2~"
          },
          "0xf729-0x20000" : {
            "Action" : 10,
            "Text" : "[1;2H"
          },
          "0xf72b-0x40000" : {
            "Action" : 10,
            "Text" : "[1;5F"
          },
          "0xf705-0x20000" : {
            "Action" : 10,
            "Text" : "[1;2Q"
          },
          "0xf703-0x260000" : {
            "Action" : 10,
            "Text" : "[1;6C"
          },
          "0xf700-0x220000" : {
            "Action" : 10,
            "Text" : "[1;2A"
          },
          "0xf701-0x280000" : {
            "Action" : 11,
            "Text" : "0x1b 0x1b 0x5b 0x42"
          },
          "0x38-0x40000" : {
            "Action" : 11,
            "Text" : "0x7f"
          },
          "0x33-0x40000" : {
            "Action" : 11,
            "Text" : "0x1b"
          },
          "0xf703-0x220000" : {
            "Action" : 10,
            "Text" : "[1;2C"
          },
          "0xf701-0x240000" : {
            "Action" : 10,
            "Text" : "[1;5B"
          },
          "0xf70d-0x20000" : {
            "Action" : 10,
            "Text" : "[21;2~"
          },
          "0xf702-0x260000" : {
            "Action" : 10,
            "Text" : "[1;6D"
          },
          "0xf729-0x40000" : {
            "Action" : 10,
            "Text" : "[1;5H"
          },
          "0xf706-0x20000" : {
            "Action" : 10,
            "Text" : "[1;2R"
          },
          "0x34-0x40000" : {
            "Action" : 11,
            "Text" : "0x1c"
          },
          "0xf700-0x280000" : {
            "Action" : 11,
            "Text" : "0x1b 0x1b 0x5b 0x41"
          },
          "0x2d-0x40000" : {
            "Action" : 11,
            "Text" : "0x1f"
          },
          "0xf70e-0x20000" : {
            "Action" : 10,
            "Text" : "[23;2~"
          },
          "0xf702-0x220000" : {
            "Action" : 10,
            "Text" : "[1;2D"
          },
          "0xf703-0x280000" : {
            "Action" : 11,
            "Text" : "0x1b 0x1b 0x5b 0x43"
          },
          "0xf700-0x240000" : {
            "Action" : 10,
            "Text" : "[1;5A"
          },
          "0xf707-0x20000" : {
            "Action" : 10,
            "Text" : "[1;2S"
          },
          "0xf70a-0x20000" : {
            "Action" : 10,
            "Text" : "[18;2~"
          },
          "0x35-0x40000" : {
            "Action" : 11,
            "Text" : "0x1d"
          },
          "0xf70f-0x20000" : {
            "Action" : 10,
            "Text" : "[24;2~"
          },
          "0xf703-0x240000" : {
            "Action" : 10,
            "Text" : "[1;5C"
          },
          "0xf701-0x260000" : {
            "Action" : 10,
            "Text" : "[1;6B"
          },
          "0xf702-0x280000" : {
            "Action" : 11,
            "Text" : "0x1b 0x1b 0x5b 0x44"
          },
          "0xf72b-0x20000" : {
            "Action" : 10,
            "Text" : "[1;2F"
          },
          "0x36-0x40000" : {
            "Action" : 11,
            "Text" : "0x1e"
          },
          "0xf708-0x20000" : {
            "Action" : 10,
            "Text" : "[15;2~"
          },
          "0xf701-0x220000" : {
            "Action" : 10,
            "Text" : "[1;2B"
          },
          "0xf70b-0x20000" : {
            "Action" : 10,
            "Text" : "[19;2~"
          },
          "0xf702-0x240000" : {
            "Action" : 10,
            "Text" : "[1;5D"
          },
          "0xf704-0x20000" : {
            "Action" : 10,
            "Text" : "[1;2P"
          }
        },
        "Window Type" : 0,
        "Cursor Type" : 0,
        "Background Image Location" : "",
        "Blur" : false,
        "Scrollback Lines" : 1000,
        "Send Code When Idle" : false,
        "Close Sessions On End" : true,
        "Terminal Type" : "xterm-256color",
        "Visual Bell" : true,
        "Flashing Bell" : false,
        "Silence Bell" : false,
        "Ansi 14 Color" : {
          "Green Component" : 1,
          "Blue Component" : 1,
          "Red Component" : 0.3333333432674408
        },
        "Name" : "Default",
        "Cursor Text Color" : {
          "Green Component" : 1,
          "Blue Component" : 1,
          "Red Component" : 1
        },
        "Shortcut" : "",
        "Cursor Color" : {
          "Green Component" : 0.73333334922790527,
          "Blue Component" : 0.73333334922790527,
          "Red Component" : 0.73333334922790527
        },
        "Transparency" : 0,
        "Ansi 1 Color" : {
          "Green Component" : 0,
          "Blue Component" : 0,
          "Red Component" : 0.73333334922790527
        },
        "Custom Directory" : "No",
        "Horizontal Spacing" : 1,
        "Ansi 4 Color" : {
          "Green Component" : 0,
          "Blue Component" : 0.73333334922790527,
          "Red Component" : 0
        },
        "Ansi 5 Color" : {
          "Green Component" : 0,
          "Blue Component" : 0.73333334922790527,
          "Red Component" : 0.73333334922790527
        },
        "Use Non-ASCII Font" : false,
        "Ansi 7 Color" : {
          "Green Component" : 0.73333334922790527,
          "Blue Component" : 0.73333334922790527,
          "Red Component" : 0.73333334922790527
        },
        "Ansi 8 Color" : {
          "Green Component" : 0.3333333432674408,
          "Blue Component" : 0.3333333432674408,
          "Red Component" : 0.3333333432674408
        },
        "Ansi 9 Color" : {
          "Green Component" : 0.3333333432674408,
          "Blue Component" : 0.3333333432674408,
          "Red Component" : 1
        },
        "Ansi 0 Color" : {
          "Green Component" : 0,
          "Blue Component" : 0,
          "Red Component" : 0
        },
        "Guid" : "C8392F39-4138-4D9F-B15A-F163B3649F14"
      },
      {
        "Ansi 6 Color" : {
          "Red Component" : 0.16470588235294117,
          "Color Space" : "sRGB",
          "Blue Component" : 0.59607843137254901,
          "Green Component" : 0.63137254901960782
        },
        "Tags" : [
      
        ],
        "Ansi 12 Color" : {
          "Red Component" : 0.51372549019607838,
          "Color Space" : "sRGB",
          "Blue Component" : 0.58823529411764708,
          "Green Component" : 0.58039215686274515
        },
        "Ansi 7 Color" : {
          "Red Component" : 0.93333333333333335,
          "Color Space" : "sRGB",
          "Blue Component" : 0.83529411764705885,
          "Green Component" : 0.90980392156862744
        },
        "Draw Powerline Glyphs" : true,
        "Bold Color" : {
          "Red Component" : 0.57647058823529407,
          "Color Space" : "sRGB",
          "Blue Component" : 0.63137254901960782,
          "Green Component" : 0.63137254901960782
        },
        "Ansi 8 Color" : {
          "Red Component" : 0,
          "Color Space" : "sRGB",
          "Blue Component" : 0.21176470588235294,
          "Green Component" : 0.16862745098039217
        },
        "Ansi 9 Color" : {
          "Red Component" : 0.79607843137254897,
          "Color Space" : "sRGB",
          "Blue Component" : 0.086274509803921581,
          "Green Component" : 0.29411764705882354
        },
        "Transparency" : 0,
        "Rows" : 25,
        "Default Bookmark" : "No",
        "Right Option Key Sends" : 0,
        "Cursor Guide Color" : {
          "Red Component" : 0.70213186740875244,
          "Color Space" : "sRGB",
          "Blue Component" : 1,
          "Alpha Component" : 0.25,
          "Green Component" : 0.9268307089805603
        },
        "Non-ASCII Anti Aliased" : true,
        "Use Bright Bold" : true,
        "Ansi 10 Color" : {
          "Red Component" : 0.34509803921568627,
          "Color Space" : "sRGB",
          "Blue Component" : 0.45882352941176469,
          "Green Component" : 0.43137254901960786
        },
        "Ambiguous Double Width" : false,
        "Jobs to Ignore" : [
          "rlogin",
          "ssh",
          "slogin",
          "telnet"
        ],
        "Ansi 15 Color" : {
          "Red Component" : 0.99215686274509807,
          "Color Space" : "sRGB",
          "Blue Component" : 0.8901960784313725,
          "Green Component" : 0.96470588235294119
        },
        "Foreground Color" : {
          "Red Component" : 0.51372549019607838,
          "Color Space" : "sRGB",
          "Blue Component" : 0.58823529411764708,
          "Green Component" : 0.58039215686274515
        },
        "Working Directory" : "\/Users\/beier",
        "Blinking Cursor" : false,
        "Disable Window Resizing" : true,
        "Sync Title" : false,
        "Prompt Before Closing 2" : false,
        "BM Growl" : true,
        "Command" : "",
        "Description" : "Default",
        "Mouse Reporting" : true,
        "Screen" : -1,
        "Selection Color" : {
          "Red Component" : 0.027450980392156866,
          "Color Space" : "sRGB",
          "Blue Component" : 0.25882352941176473,
          "Green Component" : 0.21176470588235294
        },
        "Columns" : 80,
        "Idle Code" : 0,
        "Ansi 13 Color" : {
          "Red Component" : 0.42352941176470588,
          "Color Space" : "sRGB",
          "Blue Component" : 0.7686274509803922,
          "Green Component" : 0.44313725490196076
        },
        "Custom Command" : "No",
        "ASCII Anti Aliased" : true,
        "Non Ascii Font" : "Monaco 12",
        "Vertical Spacing" : 1,
        "Use Bold Font" : true,
        "Option Key Sends" : 0,
        "Selected Text Color" : {
          "Red Component" : 0.57647058823529407,
          "Color Space" : "sRGB",
          "Blue Component" : 0.63137254901960782,
          "Green Component" : 0.63137254901960782
        },
        "Background Color" : {
          "Red Component" : 0,
          "Color Space" : "sRGB",
          "Blue Component" : 0.21176470588235294,
          "Green Component" : 0.16862745098039217
        },
        "Character Encoding" : 4,
        "Ansi 11 Color" : {
          "Red Component" : 0.396078431372549,
          "Color Space" : "sRGB",
          "Blue Component" : 0.51372549019607838,
          "Green Component" : 0.4823529411764706
        },
        "Use Italic Font" : true,
        "Unlimited Scrollback" : false,
        "Keyboard Map" : {
          "0xf700-0x260000" : {
            "Text" : "[1;6A",
            "Action" : 10
          },
          "0x37-0x40000" : {
            "Text" : "0x1f",
            "Action" : 11
          },
          "0x32-0x40000" : {
            "Text" : "0x00",
            "Action" : 11
          },
          "0xf709-0x20000" : {
            "Text" : "[17;2~",
            "Action" : 10
          },
          "0xf70c-0x20000" : {
            "Text" : "[20;2~",
            "Action" : 10
          },
          "0xf729-0x20000" : {
            "Text" : "[1;2H",
            "Action" : 10
          },
          "0xf72b-0x40000" : {
            "Text" : "[1;5F",
            "Action" : 10
          },
          "0xf705-0x20000" : {
            "Text" : "[1;2Q",
            "Action" : 10
          },
          "0xf703-0x260000" : {
            "Text" : "[1;6C",
            "Action" : 10
          },
          "0xf700-0x220000" : {
            "Text" : "[1;2A",
            "Action" : 10
          },
          "0xf701-0x280000" : {
            "Text" : "0x1b 0x1b 0x5b 0x42",
            "Action" : 11
          },
          "0x38-0x40000" : {
            "Text" : "0x7f",
            "Action" : 11
          },
          "0x33-0x40000" : {
            "Text" : "0x1b",
            "Action" : 11
          },
          "0xf703-0x220000" : {
            "Text" : "[1;2C",
            "Action" : 10
          },
          "0xf701-0x240000" : {
            "Text" : "[1;5B",
            "Action" : 10
          },
          "0xf70d-0x20000" : {
            "Text" : "[21;2~",
            "Action" : 10
          },
          "0xf702-0x260000" : {
            "Text" : "[1;6D",
            "Action" : 10
          },
          "0xf729-0x40000" : {
            "Text" : "[1;5H",
            "Action" : 10
          },
          "0xf706-0x20000" : {
            "Text" : "[1;2R",
            "Action" : 10
          },
          "0x34-0x40000" : {
            "Text" : "0x1c",
            "Action" : 11
          },
          "0xf700-0x280000" : {
            "Text" : "0x1b 0x1b 0x5b 0x41",
            "Action" : 11
          },
          "0x2d-0x40000" : {
            "Text" : "0x1f",
            "Action" : 11
          },
          "0xf70e-0x20000" : {
            "Text" : "[23;2~",
            "Action" : 10
          },
          "0xf702-0x220000" : {
            "Text" : "[1;2D",
            "Action" : 10
          },
          "0xf703-0x280000" : {
            "Text" : "0x1b 0x1b 0x5b 0x43",
            "Action" : 11
          },
          "0xf700-0x240000" : {
            "Text" : "[1;5A",
            "Action" : 10
          },
          "0xf707-0x20000" : {
            "Text" : "[1;2S",
            "Action" : 10
          },
          "0xf70a-0x20000" : {
            "Text" : "[18;2~",
            "Action" : 10
          },
          "0x35-0x40000" : {
            "Text" : "0x1d",
            "Action" : 11
          },
          "0xf70f-0x20000" : {
            "Text" : "[24;2~",
            "Action" : 10
          },
          "0xf703-0x240000" : {
            "Text" : "[1;5C",
            "Action" : 10
          },
          "0xf701-0x260000" : {
            "Text" : "[1;6B",
            "Action" : 10
          },
          "0xf702-0x280000" : {
            "Text" : "0x1b 0x1b 0x5b 0x44",
            "Action" : 11
          },
          "0xf72b-0x20000" : {
            "Text" : "[1;2F",
            "Action" : 10
          },
          "0x36-0x40000" : {
            "Text" : "0x1e",
            "Action" : 11
          },
          "0xf708-0x20000" : {
            "Text" : "[15;2~",
            "Action" : 10
          },
          "0xf701-0x220000" : {
            "Text" : "[1;2B",
            "Action" : 10
          },
          "0xf70b-0x20000" : {
            "Text" : "[19;2~",
            "Action" : 10
          },
          "0xf702-0x240000" : {
            "Text" : "[1;5D",
            "Action" : 10
          },
          "0xf704-0x20000" : {
            "Text" : "[1;2P",
            "Action" : 10
          }
        },
        "Window Type" : 0,
        "Cursor Boost" : 0.1784716796875,
        "Cursor Type" : 0,
        "Background Image Location" : "",
        "Blur" : false,
        "Badge Color" : {
          "Red Component" : 1,
          "Color Space" : "sRGB",
          "Blue Component" : 0,
          "Alpha Component" : 0.5,
          "Green Component" : 0.1491314172744751
        },
        "Scrollback Lines" : 1000,
        "Send Code When Idle" : false,
        "Close Sessions On End" : true,
        "Terminal Type" : "xterm-256color",
        "Visual Bell" : true,
        "Flashing Bell" : false,
        "Silence Bell" : false,
        "Ansi 14 Color" : {
          "Red Component" : 0.57647058823529407,
          "Color Space" : "sRGB",
          "Blue Component" : 0.63137254901960782,
          "Green Component" : 0.63137254901960782
        },
        "ASCII Ligatures" : false,
        "Name" : "Default",
        "Cursor Text Color" : {
          "Red Component" : 0.027450980392156866,
          "Color Space" : "sRGB",
          "Blue Component" : 0.25882352941176473,
          "Green Component" : 0.21176470588235294
        },
        "Minimum Contrast" : 0.68808898925781248,
        "Shortcut" : "",
        "Cursor Color" : {
          "Red Component" : 0.51372549019607838,
          "Color Space" : "sRGB",
          "Blue Component" : 0.58823529411764708,
          "Green Component" : 0.58039215686274515
        },
        "Ansi 0 Color" : {
          "Red Component" : 0.027450980392156866,
          "Color Space" : "sRGB",
          "Blue Component" : 0.25882352941176473,
          "Green Component" : 0.21176470588235294
        },
        "Ansi 1 Color" : {
          "Red Component" : 0.86274509803921573,
          "Color Space" : "sRGB",
          "Blue Component" : 0.18431372549019609,
          "Green Component" : 0.19607843137254902
        },
        "Ansi 2 Color" : {
          "Red Component" : 0.52156862745098043,
          "Color Space" : "sRGB",
          "Blue Component" : 0,
          "Green Component" : 0.59999999999999998
        },
        "Ansi 3 Color" : {
          "Red Component" : 0.70980392156862748,
          "Color Space" : "sRGB",
          "Blue Component" : 0,
          "Green Component" : 0.53725490196078429
        },
        "Ansi 4 Color" : {
          "Red Component" : 0.14901960784313725,
          "Color Space" : "sRGB",
          "Blue Component" : 0.82352941176470584,
          "Green Component" : 0.54509803921568623
        },
        "Ansi 5 Color" : {
          "Red Component" : 0.82745098039215681,
          "Color Space" : "sRGB",
          "Blue Component" : 0.50980392156862742,
          "Green Component" : 0.21176470588235294
        },
        "Use Non-ASCII Font" : false,
        "Guid" : "1A351864-A6BD-4D81-8F93-B62EDA402A80",
        "Normal Font" : "MesloLGMForPowerline-Regular 14",
        "Link Color" : {
          "Red Component" : 0,
          "Color Space" : "sRGB",
          "Blue Component" : 0.73423302173614502,
          "Alpha Component" : 1,
          "Green Component" : 0.35916060209274292
        },
        "Horizontal Spacing" : 1,
        "Custom Directory" : "No"
      },
      {
        "Ansi 5 Color" : {
          "Red Component" : 0.82745098039215681,
          "Color Space" : "sRGB",
          "Blue Component" : 0.50980392156862742,
          "Green Component" : 0.21176470588235294
        },
        "Tags" : [
      
        ],
        "Ansi 12 Color" : {
          "Red Component" : 0.51372549019607838,
          "Color Space" : "sRGB",
          "Blue Component" : 0.58823529411764708,
          "Green Component" : 0.58039215686274515
        },
        "Use Non-ASCII Font" : false,
        "Draw Powerline Glyphs" : true,
        "Bold Color" : {
          "Red Component" : 0.57647058823529407,
          "Color Space" : "sRGB",
          "Blue Component" : 0.63137254901960782,
          "Green Component" : 0.63137254901960782
        },
        "Guid" : "12353DB2-1B79-4242-AC77-0A11357180AB",
        "Normal Font" : "MesloLGMForPowerline-Regular 14",
        "Link Color" : {
          "Red Component" : 0,
          "Color Space" : "sRGB",
          "Blue Component" : 0.73423302173614502,
          "Alpha Component" : 1,
          "Green Component" : 0.35916060209274292
        },
        "Rows" : 25,
        "Default Bookmark" : "No",
        "Horizontal Spacing" : 1,
        "Custom Directory" : "No",
        "Cursor Guide Color" : {
          "Red Component" : 0.70213186740875244,
          "Color Space" : "sRGB",
          "Blue Component" : 1,
          "Alpha Component" : 0.25,
          "Green Component" : 0.9268307089805603
        },
        "Non-ASCII Anti Aliased" : true,
        "Use Bright Bold" : true,
        "Ansi 10 Color" : {
          "Red Component" : 0.34509803921568627,
          "Color Space" : "sRGB",
          "Blue Component" : 0.45882352941176469,
          "Green Component" : 0.43137254901960786
        },
        "Ambiguous Double Width" : false,
        "Jobs to Ignore" : [
          "rlogin",
          "ssh",
          "slogin",
          "telnet"
        ],
        "Ansi 15 Color" : {
          "Red Component" : 0.99215686274509807,
          "Color Space" : "sRGB",
          "Blue Component" : 0.8901960784313725,
          "Green Component" : 0.96470588235294119
        },
        "Foreground Color" : {
          "Red Component" : 0.51372549019607838,
          "Color Space" : "sRGB",
          "Blue Component" : 0.58823529411764708,
          "Green Component" : 0.58039215686274515
        },
        "Bound Hosts" : [
      
        ],
        "Working Directory" : "\/Users\/beier",
        "Blinking Cursor" : false,
        "Disable Window Resizing" : true,
        "Sync Title" : false,
        "Prompt Before Closing 2" : false,
        "BM Growl" : true,
        "Mouse Reporting" : true,
        "Command" : "",
        "Description" : "Default",
        "Screen" : -1,
        "Selection Color" : {
          "Red Component" : 0.027450980392156866,
          "Color Space" : "sRGB",
          "Blue Component" : 0.25882352941176473,
          "Green Component" : 0.21176470588235294
        },
        "Columns" : 80,
        "Idle Code" : 0,
        "Ansi 13 Color" : {
          "Red Component" : 0.42352941176470588,
          "Color Space" : "sRGB",
          "Blue Component" : 0.7686274509803922,
          "Green Component" : 0.44313725490196076
        },
        "Custom Command" : "No",
        "ASCII Anti Aliased" : true,
        "Non Ascii Font" : "Monaco 12",
        "Vertical Spacing" : 1,
        "Use Bold Font" : true,
        "Option Key Sends" : 0,
        "Selected Text Color" : {
          "Red Component" : 0.57647058823529407,
          "Color Space" : "sRGB",
          "Blue Component" : 0.63137254901960782,
          "Green Component" : 0.63137254901960782
        },
        "Background Color" : {
          "Red Component" : 0,
          "Color Space" : "sRGB",
          "Blue Component" : 0.21176470588235294,
          "Green Component" : 0.16862745098039217
        },
        "Character Encoding" : 4,
        "Ansi 11 Color" : {
          "Red Component" : 0.396078431372549,
          "Color Space" : "sRGB",
          "Blue Component" : 0.51372549019607838,
          "Green Component" : 0.4823529411764706
        },
        "Use Italic Font" : true,
        "Unlimited Scrollback" : false,
        "Keyboard Map" : {
          "0xf700-0x260000" : {
            "Text" : "[1;6A",
            "Action" : 10
          },
          "0x37-0x40000" : {
            "Text" : "0x1f",
            "Action" : 11
          },
          "0x32-0x40000" : {
            "Text" : "0x00",
            "Action" : 11
          },
          "0xf709-0x20000" : {
            "Text" : "[17;2~",
            "Action" : 10
          },
          "0xf70c-0x20000" : {
            "Text" : "[20;2~",
            "Action" : 10
          },
          "0xf729-0x20000" : {
            "Text" : "[1;2H",
            "Action" : 10
          },
          "0xf72b-0x40000" : {
            "Text" : "[1;5F",
            "Action" : 10
          },
          "0xf705-0x20000" : {
            "Text" : "[1;2Q",
            "Action" : 10
          },
          "0xf703-0x260000" : {
            "Text" : "[1;6C",
            "Action" : 10
          },
          "0xf700-0x220000" : {
            "Text" : "[1;2A",
            "Action" : 10
          },
          "0xf701-0x280000" : {
            "Text" : "0x1b 0x1b 0x5b 0x42",
            "Action" : 11
          },
          "0x38-0x40000" : {
            "Text" : "0x7f",
            "Action" : 11
          },
          "0x33-0x40000" : {
            "Text" : "0x1b",
            "Action" : 11
          },
          "0xf703-0x220000" : {
            "Text" : "[1;2C",
            "Action" : 10
          },
          "0xf701-0x240000" : {
            "Text" : "[1;5B",
            "Action" : 10
          },
          "0xf70d-0x20000" : {
            "Text" : "[21;2~",
            "Action" : 10
          },
          "0xf702-0x260000" : {
            "Text" : "[1;6D",
            "Action" : 10
          },
          "0xf729-0x40000" : {
            "Text" : "[1;5H",
            "Action" : 10
          },
          "0xf706-0x20000" : {
            "Text" : "[1;2R",
            "Action" : 10
          },
          "0x34-0x40000" : {
            "Text" : "0x1c",
            "Action" : 11
          },
          "0xf700-0x280000" : {
            "Text" : "0x1b 0x1b 0x5b 0x41",
            "Action" : 11
          },
          "0x2d-0x40000" : {
            "Text" : "0x1f",
            "Action" : 11
          },
          "0xf70e-0x20000" : {
            "Text" : "[23;2~",
            "Action" : 10
          },
          "0xf702-0x220000" : {
            "Text" : "[1;2D",
            "Action" : 10
          },
          "0xf703-0x280000" : {
            "Text" : "0x1b 0x1b 0x5b 0x43",
            "Action" : 11
          },
          "0xf700-0x240000" : {
            "Text" : "[1;5A",
            "Action" : 10
          },
          "0xf707-0x20000" : {
            "Text" : "[1;2S",
            "Action" : 10
          },
          "0xf70a-0x20000" : {
            "Text" : "[18;2~",
            "Action" : 10
          },
          "0x35-0x40000" : {
            "Text" : "0x1d",
            "Action" : 11
          },
          "0xf70f-0x20000" : {
            "Text" : "[24;2~",
            "Action" : 10
          },
          "0xf703-0x240000" : {
            "Text" : "[1;5C",
            "Action" : 10
          },
          "0xf701-0x260000" : {
            "Text" : "[1;6B",
            "Action" : 10
          },
          "0xf702-0x280000" : {
            "Text" : "0x1b 0x1b 0x5b 0x44",
            "Action" : 11
          },
          "0xf72b-0x20000" : {
            "Text" : "[1;2F",
            "Action" : 10
          },
          "0x36-0x40000" : {
            "Text" : "0x1e",
            "Action" : 11
          },
          "0xf708-0x20000" : {
            "Text" : "[15;2~",
            "Action" : 10
          },
          "0xf701-0x220000" : {
            "Text" : "[1;2B",
            "Action" : 10
          },
          "0xf70b-0x20000" : {
            "Text" : "[19;2~",
            "Action" : 10
          },
          "0xf702-0x240000" : {
            "Text" : "[1;5D",
            "Action" : 10
          },
          "0xf704-0x20000" : {
            "Text" : "[1;2P",
            "Action" : 10
          }
        },
        "Window Type" : 0,
        "Cursor Boost" : 0.1784716796875,
        "Cursor Type" : 0,
        "Background Image Location" : "",
        "Blur" : false,
        "Badge Color" : {
          "Red Component" : 1,
          "Color Space" : "sRGB",
          "Blue Component" : 0,
          "Alpha Component" : 0.5,
          "Green Component" : 0.1491314172744751
        },
        "Scrollback Lines" : 1000,
        "Send Code When Idle" : false,
        "Close Sessions On End" : true,
        "Terminal Type" : "xterm-256color",
        "Visual Bell" : true,
        "Flashing Bell" : false,
        "Silence Bell" : false,
        "Ansi 14 Color" : {
          "Red Component" : 0.57647058823529407,
          "Color Space" : "sRGB",
          "Blue Component" : 0.63137254901960782,
          "Green Component" : 0.63137254901960782
        },
        "ASCII Ligatures" : false,
        "Name" : "Copy of Default",
        "Cursor Text Color" : {
          "Red Component" : 0.027450980392156866,
          "Color Space" : "sRGB",
          "Blue Component" : 0.25882352941176473,
          "Green Component" : 0.21176470588235294
        },
        "Minimum Contrast" : 0.68808898925781248,
        "Shortcut" : "",
        "Cursor Color" : {
          "Red Component" : 0.51372549019607838,
          "Color Space" : "sRGB",
          "Blue Component" : 0.58823529411764708,
          "Green Component" : 0.58039215686274515
        },
        "Transparency" : 0,
        "Ansi 0 Color" : {
          "Red Component" : 0.027450980392156866,
          "Color Space" : "sRGB",
          "Blue Component" : 0.25882352941176473,
          "Green Component" : 0.21176470588235294
        },
        "Ansi 1 Color" : {
          "Red Component" : 0.86274509803921573,
          "Color Space" : "sRGB",
          "Blue Component" : 0.18431372549019609,
          "Green Component" : 0.19607843137254902
        },
        "Ansi 2 Color" : {
          "Red Component" : 0.52156862745098043,
          "Color Space" : "sRGB",
          "Blue Component" : 0,
          "Green Component" : 0.59999999999999998
        },
        "Ansi 3 Color" : {
          "Red Component" : 0.70980392156862748,
          "Color Space" : "sRGB",
          "Blue Component" : 0,
          "Green Component" : 0.53725490196078429
        },
        "Right Option Key Sends" : 0,
        "Has Hotkey" : false,
        "Ansi 7 Color" : {
          "Red Component" : 0.93333333333333335,
          "Color Space" : "sRGB",
          "Blue Component" : 0.83529411764705885,
          "Green Component" : 0.90980392156862744
        },
        "Ansi 8 Color" : {
          "Red Component" : 0,
          "Color Space" : "sRGB",
          "Blue Component" : 0.21176470588235294,
          "Green Component" : 0.16862745098039217
        },
        "Ansi 9 Color" : {
          "Red Component" : 0.79607843137254897,
          "Color Space" : "sRGB",
          "Blue Component" : 0.086274509803921581,
          "Green Component" : 0.29411764705882354
        },
        "Ansi 6 Color" : {
          "Red Component" : 0.16470588235294117,
          "Color Space" : "sRGB",
          "Blue Component" : 0.59607843137254901,
          "Green Component" : 0.63137254901960782
        },
        "Ansi 4 Color" : {
          "Red Component" : 0.14901960784313725,
          "Color Space" : "sRGB",
          "Blue Component" : 0.82352941176470584,
          "Green Component" : 0.54509803921568623
        }
      }
      ]
      }
      
      

0.1 zsh 下载配置 Iterm 定义化

	brew install zsh
	zsh --version
	
	安装 oh-my-zsh 提供配置
	sh -c "$(curl -fsSL https://raw.githubusercontent.com/ohmyzsh/ohmyzsh/master/tools/install.sh)"
	sh -c "$(curl -fsSL https://install.ohmyz.sh/)"
	~/.zshrc 
	
	ll 如果无法执行 需要改 zshrc 的配置文件
  1. mac -homebrew

https://blog.csdn.net/qq_42351033/article/details/116566478

/bin/zsh -c "$(curl -fsSL https://gitee.com/cunkai/HomebrewCN/raw/master/Homebrew.sh)"
// 查看 brew 版本
brew --version
  1. mac -nvm
brew install nvm;
// 配置 nvm 的环境变量  
mkdir ~/.nvm 
// 在~/.zshrc 中配置
vim ~/.zshrc
export NVM_DIR="$HOME/.nvm" 
    [ -s "$(brew --prefix)/opt/nvm/nvm.sh" ] && \. "$(brew --prefix)/opt/nvm/nvm.sh" # This loads nvm
    [ -s "$(brew --prefix)/opt/nvm/etc/bash_completion.d/nvm" ] && \. "$(brew --prefix)/opt/nvm/etc/bash_completion.d/nvm" # This loads nvm bash_completion
source ~/.zshrc

nvm -v; // 版本
nvm install node // 最新
nvm install v12 // 指定版本
nvm use v12 // 采用指定版本的node -- npm 自动安装
nvm alias default v14.19.0 // nvm 默认node版本
  1. mac -yarn -tyarn
brew install yarn;
npm install yarn tyarn -g
  1. mac-item2 .zshrc

下载 .oh-my-zsh

插件安装

插件安装
git clone https://github.com/zsh-users/zsh-autosuggestions ${ZSH_CUSTOM:-$HOME/.oh-my-zsh/custom}/plugins/zsh-autosuggestions
git clone https://github.com/zsh-users/zsh-syntax-highlighting ${ZSH_CUSTOM:-~/.oh-my-zsh/custom}/plugins/zsh-syntax-highlighting

item2 配置
export ZSH="$HOME/.oh-my-zsh"
// zsh 支持 nvm 命令行查询
export NVM_DIR="$HOME/.nvm"
    [ -s "$(brew --prefix)/opt/nvm/nvm.sh" ] && \. "$(brew --prefix)/opt/nvm/nvm.sh" # This loads nvm
    [ -s "$(brew --prefix)/opt/nvm/etc/bash_completion.d/nvm" ] && \. "$(brew --prefix)/opt/nvm/etc/bash_completion.d/nvm" # This loads nvm bash_completion
     
alias ll='ls -alF'
plugins=(
  zsh-autosuggestions
)
source ~/.oh-my-zsh/custom/plugins/zsh-syntax-highlighting/zsh-syntax-highlighting.zsh
ZSH_THEME="agnoster"


  1. vscode 插件:

auto close tag // 标签自动闭合

auto rename tag // 修改标签名 -同时修改

babel Javascript // 语法高亮

bracket Pair Coloizer // 括号颜色配对

chinese // 中文插件

code Spell checker // 单词拼写检测

Es7 snippets // 语法片段

eslint // elint校验

git history // git 查看

gitlens // 提交记录

hightlight matching tag // 标签匹配高亮

image review // 图片预览

es6 code snippets // 代码片段

live server // 本地服务

prettier - code formatter // 格式化

todoHightlight //todo 高亮

vscode -icons // 文件图标


crtl + shift + p → Shell Command → install → code . 终端打开vscode


  1. 配置ssh:

参考地址: https://kangzhiheng.top/post/11-more-ssh-in-one-laptop/


ls -al ~/.ssh  // 查看当前是否配置的ssh

ssh-keygen -t rsa -b 4096 -C "shiqiharbin@163.com"  // 创建ssh

eval $(ssh-agent -s)  // 开启代理

// 添加代理
ssh-add ~/.ssh/id_rsa_github_tempAir

ssh-add -l // 查看代理关联

vim ~/.ssh/config  // 配置多个ssh管理
Host github.com
    HostName github.com
    User Bell
    PreferredAuthentications publickey
    IdentityFile ~/.ssh/id_rsa_github_tempAir

Host gitlab.prod.dtstack.cn
    HostName gitlab.prod.dtstack.cn
    User beier
    PreferredAuthentications publickey
    IdentityFile ~/.ssh/id_rsa_gitlab
    

pbcopy < ~/.ssh/id_rsa.pub // 复制public key 
													 // 粘贴到 远程ssh管理
													 
github 上添加publicKey 到远程后, 本地验证密钥
													 
ssh -T git@github.com //  验证密钥

git config --global user.name ''
git config --gloabal user.email ''  //  设置全局的user 

git clone ****  // 拉下相应的代码
// 提交代码

  1. clashx 下载地址 :

https://www.linggeseo.com/2090.html

  1. host 配置

  2. commitizen

     npm install -g commitizen
    
  3. 工具

    npkill 
    remove old and heavy node_moudules folders
    
  4. 使用软件

    licecap 录制 gif 软件
    snipaste 截图
    
  5. 常用在线工具

  1. 组件库
  • table : handsontable 7.x一下