V2EX = way to explore
V2EX 是一个关于分享和探索的地方
Sign Up Now
For Existing Member  Sign In
zenomac
V2EX  ›  macOS

有什么办法可以增强terminal的可读性?

  •  
  •   zenomac · Oct 11, 2012 · 4404 views
    This topic created in 4947 days ago, the information mentioned may be changed or developed.
    终端可读性真是太差.

    行间留白空间要有,命令和参数颜色差要有,
    有办法做到么
    5 replies    1970-01-01 08:00:00 +08:00
    coderoar
        1
    coderoar  
       Oct 11, 2012
    很多命令的输出都有颜色,但是需要加参数,像ls、grep;shell提示符的颜色可以用PS1变量定制。输入命令的那些行,是不能指定颜色的。

    https://wiki.archlinux.org/index.php/Color_Bash_Prompt
    cabbala
        2
    cabbala  
       Oct 11, 2012
    RoCry
        3
    RoCry  
       Oct 11, 2012
    github 搜 oh-my-zsh
    dongsheng
        4
    dongsheng  
       Oct 11, 2012
    doylecnn
        5
    doylecnn  
       Oct 12, 2012
    fishfish
    About   ·   Help   ·   Advertise   ·   Blog   ·   API   ·   FAQ   ·   Solana   ·   5725 Online   Highest 6679   ·     Select Language
    创意工作者们的社区
    World is powered by solitude
    VERSION: 3.9.8.5 · 129ms · UTC 03:31 · PVG 11:31 · LAX 20:31 · JFK 23:31
    ♥ Do have faith in what you're doing.