iTerm2 + Oh My Zsh】的更多相关文章

iTerm2 + Oh My Zsh 打造舒适终端体验 写在前面 最终效果图: 因为powerline以及homebrew均需要安装command line tool,网络条件优越的同学在执行本文下面内容之前,可以先安装XCode并打开运行一次(会初始化安装components),省去以后在iterm2中的等待时间. 另外,git也是必要的,各位可以自行下载安装,除了网络没有任何坑: https://git-scm.com 介于此,本文默认各位同学已经安装了git环境和xcode(command…
iTerm2 http://iterm2.com/downloads.html https://iterm2.com/downloads/stable/iTerm2-2_1_4.zip Oh My Zshhttp://ohmyz.sh sh -c "$(curl -fsSL https://raw.github.com/robbyrussell/oh-my-zsh/master/tools/install.sh)" Homebrew http://brew.sh/index.html…
安装iTerm2 iTerm2官方下载地址 http://www.iterm2.com/downloads.html 安装Oh My Bash 1.通过cat /etc/shells命令可以查看当前系统可以使用哪些shell: # List of acceptable shells for chpass(1). # Ftpd will not allow users to connect who are not using # one of these shells. /bin/bash /bi…
/usr/bin/ruby -e "$(curl -fsSL https://raw.githubusercontent.com/Homebrew/install/master/install)"  将以上命令粘贴到终端:     下载安装................. 安装成功 用装好的 Homebrew安装iterm2 输入命令:brew cask instal iterm2 查看系统的shell cat /etc/shells 回显: /bin/bash /bin/csh /…
当使用Mac OS系统登陆服务器时,发现tab键不能提示系统默认的命令,于是参照各种网络文章,网友提供一种软件oh my zsh [网址:https://ohmyz.sh/] 其实最重要一个命令足矣 sh -c "$(curl -fsSL https://raw.github.com/robbyrussell/oh-my-zsh/master/tools/install.sh)"或者sh -c "$(wget https://raw.github.com/robbyrusse…
使用Solarized dark配色方案 需要字体menlo for powerline oh-my-zsh主题使用agnoster,这个主题默认的路径是全路径,当路径很长的时候,就会占很长的空间,可以修改agnoster.zsh-theme中的方法 prompt_dir() prompt_dir() { prompt_segment blue black '%~' } 改成 prompt_dir() { prompt_segment blue black '%~' } 多加个1就可以了.这个我…
链接: http://www.siguoya.name/pc/home/article/256 http://www.jianshu.com/p/fabd40cf83fe http://www.jianshu.com/p/7de00c73a2bb //主题 https://github.com/robbyrussell/oh-my-zsh/wiki/External-themes…
首先展示下我的终端吧. 这就是我们为什么要配置iTerm2+Zsh+oh-my-zsh环境的原因: 我们使用zsh解释器,当然等你使用 zsh时就会知道zsh与bash对比的强大之处了. 至于我们的git库颜色分级是因为oh-my-zsh,oh-my-zsh有很多中主题供我们选择,"agnoster"这款主题深受程序员的喜爱,当然我使用的就是这款主题.你也可以设置自己喜欢的主题. 1.iTerm2 iTerm 2的功能有很多,百度技巧层出不穷,推荐看看这篇博客  http://blog…
之前一直使用 Mac OS 自带的终端,用起来虽然有些不太方便,但总体来说还是可以接受的,是有想换个终端的想法,然后今天偶然看到一个终端利器 iTerm2,发现真的很强大,也非常的好用,按照网上配置了主题什么的,还是有些坑的,这边再记录下,以便后面查阅. 1. 安装 iTerm2 下载地址:https://www.iterm2.com/downloads.html 下载的是压缩文件,解压后是执行程序文件,你可以直接双击,或者直接将它拖到 Applications 目录下. 或者你可以直接使用 H…
1. 安装 iTerm2 下载地址:https://www.iterm2.com/downloads.html 下载的是压缩文件,解压后是执行程序文件,你可以直接双击,或者直接将它拖到 Applications 目录下. 或者你可以直接使用 Homebrew 进行安装: $ brew cask install iterm2 2. 配置 iTerm2 主题 iTerm2 最常用的主题是 Solarized Dark theme,下载地址:http://ethanschoonover.com/sol…