zoukankan      html  css  js  c++  java
  • Mac中iterm2显示彩色

    Mac中iterm2显示彩色

    参考网址:https://segmentfault.com/q/1010000000653503

    显示隐藏文件

    defaults write com.apple.Finder AppleShowAllFiles YES

    编辑.bash_profile

    加入

    export CLICOLOR=1
    export LSCOLORS=gxfxcxdxbxegedabagacad
    export PS1='[33[01;32m]u@h[33[00m]:[33[01;36m]w[33[00m]$ '
    export TERM=xterm-color

    即图片中的代码(不知道为神马,直接写的显示会有问题):

    然后

    source .bash_profile

    但是设置完按住command键就不能点击文件进行编辑了。

     
  • 相关阅读:
    sqhhb
    12333
    12

    今日份
    12
    彻底理解 Cookie、Session、Token
    https原理
    12312
    uiower
  • 原文地址:https://www.cnblogs.com/mouseleo/p/10907782.html
Copyright © 2011-2022 走看看