终端神器 iterm

    xiaoxiao2021-04-16  32

    1、简介 

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

    2、下载 

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

    3、背景颜色设置

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

    #enables colorin the terminal bash shell exportexport CLICOLOR=1#sets up thecolor scheme for list exportexport LSCOLORS=gxfxcxdxbxegedabagacad#sets up theprompt color (currently a green similar to linux terminal)export PS1='\[\033[01;32m\]\u@\h\[\033[00m\]:\[\033[01;36m\]\w\[\033[00m\]\$ '#enables colorfor iTermexport TERM=xterm-color

    ②、source ~/.bash_profile

     

    4、个人喜欢它的亮点

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

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

    ②、cmd + enter : 全屏

     

    5、中文乱码问题

     

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

     

    参考文献

     

    1、 http://cuihuan.net/article/mac-下终端iterm2-使用心得.html

     

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

    转载请注明原文地址: https://ju.6miu.com/read-672223.html

    最新回复(0)