• 终端神器 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

  • 相关阅读:
    输入属性,输出属性
    angular响应式表单
    angular 响应式表单指令
    c++ Primer
    CString 操作函数
    字符串分割strtok_s
    LPSTR LPTSTR
    CString分割切分
    CStringArray
    十进制
  • 原文地址:https://www.cnblogs.com/chenmo-xpw/p/5798041.html
Copyright © 2020-2023  润新知