您的位置:首页 > 其它

工作环境配置纪录

2015-12-25 10:49 357 查看
最近换了台MacBook,工作环境全部需要重新配置。为方便以后查询,特此记录。

1 Xcode

看家工具。

1.1 Alcatraz

地址:http://alcatraz.io/安装:curl -fsSL https://raw.githubusercontent.com/supermarin/Alcatraz/deploy/Scripts/install.sh | sh安装完成后,必装的插件有:

1.2 XVim

vim指法的效率无需多言。

1.3 CocoaPods

配置gem sources --remove https://rubygems.org/ gem sources -a https://ruby.taobao.org/gem gem sources -lsudo gem install cocoapodsgem setup(可以到~/.cocoapods下
du -sh *
查看进度)使用在工程目录下 vim Podfile,加入platform :ios, '9.2'pod 'SDWebImage', '~> 3.7.5'然后pod install

2 Terminal

2.1 iTerm

地址:http://www.iterm2.com/

2.2 zsh

1 chsh -s /bin/zsh2 安装oh my zsh
sh -c "$(curl -fsSL https://raw.github.com/robbyrussell/oh-my-zsh/master/tools/install.sh)"
真的比bash好用太多。3 z这个脚本是用来支持快速切换常用工作目录的。https://github.com/rupa/z/blob/master/z.sh将这个脚本放到某个路径,例如/Volumes/Work/z.sh然后编辑~/.zshrc,添加代码source /Volumes/Work/z.sh这样,它就会自动统计你进入每个路径的次数。你只要使用z xxx,他就会自动匹配出你最常进入的路径(z -l可以查看统计)。4 themes http://iterm2colorschemes.com/

2.3 Homebrew

Mac系统里缺了很多工具,可以使用这个进行方便的安装。地址:http://brew.sh/安装:
ruby -e "$(curl -fsSL https://raw.githubusercontent.com/Homebrew/install/master/install)"[/code] 工具列表:brew install wget

3 Git

sourcetree地址: https://www.sourcetreeapp.com/ 免费好用的git客户端。软件免费,但是不注册的话有试用期。注册地址:https://id.atlassian.com/signup许可证生成地址:https://my.atlassian.com/license/sourcetree也可以使用我自己的许可证地址:license

4 Emacs

最强大的编辑器之一,org mode强大好用。地址:http://emacsformacosx.com/默认配置:https://github.com/purcell/emacs.d安装:
git clone https://github.com/purcell/emacs.d.git ~/.emacs.d
重新打开emacs,一切都会自动安装。下面是几个好用的插件,包括vim、speedbar和tabbar,粘贴在init-local.el里,拷贝到~/.emacs.d/lisp/init-local.el里。;; vim(require 'evil)(evil-mode 1);;speedbar(require 'sr-speedbar)(setq speedbar-show-unknown-files t)(setq speedbar-use-images nil)(setq sr-speedbar-width 30)(setq sr-speedbar-right-side nil)(global-set-key (kbd "<f5>") (lambda()(interactive)(sr-speedbar-toggle)));;tabbar(require 'tabbar)(tabbar-mode 1)(global-set-key [(meta j)] 'tabbar-forward)(global-set-key [(meta k)] 'tabbar-backward);; close default tabs,and move all files into one group(setq tabbar-buffer-list-function(lambda ()(remove-if(lambda(buffer)(find (aref (buffer-name buffer) 0) " *"))(buffer-list))))(setq tabbar-buffer-groups-function(lambda()(list "All")))(set-face-attribute 'tabbar-button nil);;set tabbar's backgroud color(set-face-attribute 'tabbar-default nil:background "gray":foreground "gray30")(set-face-attribute 'tabbar-selected nil:inherit 'tabbar-default:background "green":box '(:line-width 3 :color "DarkGoldenrod") )(set-face-attribute 'tabbar-unselected nil:inherit 'tabbar-default:box '(:line-width 3 :color "gray"));; USEFUL: set tabbar's separator gap(custom-set-variables '(tabbar-separator (quote (1.5))))(provide 'init-local)

5 Python

5.1 pip

安装: https://bootstrap.pypa.io/get-pip.py

5.2 其他包

requests

6 其他

QQ FireFox Foxmail sougou 坚果云

                                            
内容来自用户分享和网络整理,不保证内容的准确性,如有侵权内容,可联系管理员处理 点击这里给我发消息
标签: