Mac 开发工具汇总

	 最近因为公司给采购了最新款的mac电脑,于是需要在mac上迁移开发环境。记录一下常用的开发工具和环境.

brew 神器

因为国内限制,导致无法git上获取执行脚本,所以采用的国内的源。

/bin/zsh -c "$(curl -fsSL https://gitee.com/cunkai/HomebrewCN/raw/master/Homebrew.sh)"

代码提示工具(Manually)

1、Clone this repository to ~/.zsh/zsh-autosuggestions (or anywhere else):

git clone git://github.com/tarruda/zsh-autosuggestions ~/.zsh/zsh-autosuggestions

2、Clone zsh-syntax-highlighting repository to ~/.zsh/zsh-syntax-highlighting (or anywhere else):

git clone git://github.com/zsh-users/zsh-syntax-highlighting ~/.zsh/zsh-syntax-highlighting

3、Load and enable autosuggestions; copy the following snippet and put it to your .zshrc file:

# Load zsh-syntax-highlighting. source ~/.zsh/zsh-syntax-highlighting/zsh-syntax-highlighting.zsh
# Load zsh-autosuggestions. source ~/.zsh/zsh-autosuggestions/autosuggestions.zsh
# Enable autosuggestions automatically.
zle-line-init() {
zle autosuggest-start
}
zle -N zle-line-init

链接: link

item2 + oh-my-zsh 打造炫酷终端

  • item2 下载地址:https://www.iterm2.com/
  • oh-my-zsh 下载
sh -c "$(curl -fsSL https://raw.github.com/robbyrussell/oh-my-zsh/master/tools/install.sh)"
  • 修改主题
vim ~/.zshrc 

找到 ZSH_THEME 修改为自己喜欢的主题。个人喜欢  steeef 样式如图:

  • 最后画蛇添足
/etc/ 下创建 motd 文件 复制:

                       .::::.
                     .::::::::.
                    :::::::::::
                 ..:::::::::::'
              '::::::::::::'
                .::::::::::
           '::::::::::::::..
                ..::::::::::::.
              ``::::::::::::::::
               ::::``:::::::::'        .:::.
              ::::'   ':::::'       .::::::::.
            .::::'      ::::     .:::::::'::::.
           .:::'       :::::  .:::::::::' ':::::.
          .::'        :::::.:::::::::'      ':::::.
         .::'         ::::::::::::::'         ``::::.
     ...:::           ::::::::::::'              ``::.
    ````':.          ':::::::::'                  ::::..
                       '.:::::'                    ':'````..

  • 重启终端看效果
    请添加图片描述

docker 环境

抓包工具(Charles)

配置的话已经有很多的文档了。这里仅附上链接。
链接: Charles安装配置 for Mac

IDE (phpstrom/goland)

画图工具推荐draw.io

本图文内容来源于网友网络收集整理提供,作为学习参考使用,版权属于原作者。
THE END
分享
二维码
< <上一篇
下一篇>>