mac工具集

文章目录

  1. 1. brew
  2. 2. iterm2
  3. 3. zsh
  4. 4. oh-my-zsh
  5. 5. dash 文档工具
  6. 6. alfred 快捷调用
  7. 7. lrzsz-服务器和本机传输工具
  8. 8. tldr
  9. 9. how2
  10. 10. git-credential-osxkeychain
  11. 11. mackup
  12. 12. shortcat
  13. 13. cheatsheet & EVE 快捷键提示
  14. 14. vscode 神编辑器
  15. 15. coursera相关

brew

1
ruby -e "$(curl -fsSL https://raw.githubusercontent.com/Homebrew/install/master/install)"

iterm2

1
2
https://iterm2.com/downloads/stable/iTerm2_v2_0.zip
运行iterm2之后按cmd+,调出设置界面,在'profile' -> "Terminal Type"改成xterm-new。

zsh

1
2
3
4
5
6
brew install zsh
sudo vim /etc/shells
#在最后面加上一行
/usr/local/Cellar/zsh/5.0.8/bin/zsh
chsh -s /usr/local/Cellar/zsh/5.0.8/bin/zsh
#重启终端即可

oh-my-zsh

1
curl -L https://raw.github.com/robbyrussell/oh-my-zsh/master/tools/install.sh | sh

dash 文档工具

alfred 快捷调用

附一个开发必备工具集

lrzsz-服务器和本机传输工具

iterm2-zmodem
item2 ssh远程服务器,就能上传下载文件

  • sz 想要本机接收的文件
  • rz 想让远程收到的文件

issue:ssl证书验证失败无法下载
原因是brew https连接失败
解决方法:

1
2
3
4
5
sudo vim /usr/local/Library/Homebrew/utils.rb

修改下面的行加一个-k 参数,让 curl 忽略 https 验证

args = [HOMEBREW_CURL_ARGS, HOMEBREW_USER_AGENT,'-k', *args]

tldr

tldr查询命令如何用

how2

stackoverflow命令行查询工具

git-credential-osxkeychain

免密码提交

1
2
3
4
curl -s -O https://github-media-downloads.s3.amazonaws.com/osx/git-credential-osxkeychain
chmod u+x git-credential-osxkeychain
sudo mv git-credential-osxkeychain "$(dirname $(which git))/git-credential-osxkeychain"
git config --global credential.helper osxkeychain

mackup

mackup备份配置

推荐 googledrive+proxifier

shortcat

扔掉你的鼠标
配置

cheatsheet & EVE 快捷键提示

cheatsheet
EVE

vscode 神编辑器

vscode

coursera相关

coursera-dl-下载工具
IINA-自动加载字幕

如有疑问,请文末留言交流或邮件:newbvirgil@gmail.com 本文链接 : https://newbmiao.github.io/2016/03/15/mac-tool.html