终端神器 iterm

1、简介 

  mac自带的终端terminal算蛮好用的, 但相比另一款优秀的终端软件iterm,iterm这款神器不逊于mac自带的终端。它支持了很多快捷键, 深受键盘党的喜爱。

2、下载 

http://www.iterm2.com/downloads.html

3、背景颜色设置

①、打开 vim ~/.bash_profile, 把下面这段copy进去

#enables colorin the terminal bash shell export
export CLICOLOR=1

#sets up thecolor scheme for list export
export LSCOLORS=gxfxcxdxbxegedabagacad

#sets up theprompt color (currently a green similar to linux terminal)
export PS1='[33[01;32m]u@h[33[00m]:[33[01;36m]w[33[00m]$ '

#enables colorfor iTerm
export TERM=xterm-color

②、source ~/.bash_profile

4、个人喜欢它的亮点

①、半透明的背景, 真是骚货

选中HotKey。 alt + 空格 : 即可切换至透明状态

②、cmd + enter : 全屏

5、中文乱码问题

Preferences->Profiles->Terminal->Terminal Emulation中的字符编码为GBK 即可

参考文献

1、 http://cuihuan.net/article/mac-%E4%B8%8B%E7%BB%88%E7%AB%AFiterm2-%E4%BD%BF%E7%94%A8%E5%BF%83%E5%BE%97.html

2、官网features : http://www.iterm2.com/features.html

原文地址:https://www.cnblogs.com/chenmo-xpw/p/5798041.html