Iterm 2 如何修改字体颜色? - V2EX
V2EX = way to explore
V2EX 是一个关于分享和探索的地方
Sign Up Now
For Existing Member  Sign In
Joysisyphus
V2EX    macOS

Iterm 2 如何修改字体颜色?

  •  
  •   Joysisyphus May 10, 2014 35469 views
    This topic created in 4369 days ago, the information mentioned may be changed or developed.
    我用的是iterm2+zsh
    在iterm2-preference->profiles->color中加载了别的配色方案,但是除了背景颜色变了之外,字体颜色还是最初的白色
    不用别人的方案,自己想直接修改字体,字体的大小/样式都可以修改,就是颜色改不了
    如何修改字体颜色?
    12 replies    2016-11-27 04:53:40 +08:00
    jwk345
        1
    jwk345  
       May 10, 2014
    在 Preference -> Profiles -> Colors -> Basic Colors -> Foreground 里改
    Joysisyphus
        2
    Joysisyphus  
    OP
       May 10, 2014
    @jamesxu
    谢谢!
    那配色方案是怎么回事呢?比如Solarized?
    我看bash的话是需要在.bash_profile中加入几行代码,但是网上没有对zsh的
    peartail
        3
    peartail/strong>  
       May 10, 2014
    @Joysisyphus Google zsh theme.
    Joysisyphus
        4
    Joysisyphus  
    OP
       May 10, 2014
    @peartail
    我改动zsh theme也不会改变配色,会改变比如字符配置,比如用户名的表现形式之类的
    简而言之,无论是改动zsh theme,还是iterm配色,都不行
    krafttuc
        6
    krafttuc  
       May 10, 2014
    你看看Profiles -> your profile -> Terminal 下面 Report Terminal Type 类型

    我的是 xterm-256color
    Joysisyphus
        7
    Joysisyphus  
    OP
       May 10, 2014
    @krafttuc
    恩,这个我改过的,但还是不行
    Joysisyphus
        8
    Joysisyphus  
    OP
       May 10, 2014
    @josephpei
    谢谢
    Owenjia
        9
    Owenjia  
       May 10, 2014
    我是这样改的,不知道在 Iterm2 里能不能用~~
    eval `dircolors path/to/dircolors.ansi-dark`
    https://github.com/seebi/dircolors-solarized
    Joysisyphus
        10
    Joysisyphus  
    OP
       May 10, 2014
    @Owenjia
    谢谢,我试试
    tizac
        11
    tizac  
       Mar 23, 2015
    在 ~/.bash_profile 增加
    export CLICOLOR=1
    ETHANAIR
        12
    ETHANAIR  
       Nov 27, 2016
    All you need to do is reduce the minimum contrast by moving the slider to the left. Reducing the minimum contrast allows colors other than black and white to be used for the text. Here's why:

    A higher minimum contrast will force the text and background to be farther apart in terms of brightness. So if you have a black background, a higher minimum contrast will force the text to be closer to white. Similarly, if you have a white background, a higher minimum contrast will force the text to be closer to black.

    http://superuser.com/questions/353396/how-to-set-color-terminal-for-iterm2
    About     Help     Advertise     Blog     API     FAQ     Solana     3612 Online   Highest 6679       Select Language
    创意工作者们的社区
    World is powered by solitude
    VERSION: 3.9.8.5 49ms UTC 04:36 PVG 12:36 LAX 21:36 JFK 00:36
    Do have faith in what you're doing.
    ubao msn snddm index pchome yahoo rakuten mypaper meadowduck bidyahoo youbao zxmzxm asda bnvcg cvbfg dfscv mmhjk xxddc yybgb zznbn ccubao uaitu acv GXCV ET GDG YH FG BCVB FJFH CBRE CBC GDG ET54 WRWR RWER WREW WRWER RWER SDG EW SF DSFSF fbbs ubao fhd dfg ewr dg df ewwr ewwr et ruyut utut dfg fgd gdfgt etg dfgt dfgd ert4 gd fgg wr 235 wer3 we vsdf sdf gdf ert xcv sdf rwer hfd dfg cvb rwf afb dfh jgh bmn lgh rty gfds cxv xcv xcs vdas fdf fgd cv sdf tert sdf sdf sdf sdf sdf sdf sdf sdf sdf sdf sdf sdf sdf sdf sdf sdf sdf sdf sdf sdf sdf sdf sdf sdf sdf sdf sdf sdf sdf sdf sdf sdf sdf sdf sdf sdf sdf sdf sdf sdf shasha9178 shasha9178 shasha9178 shasha9178 shasha9178 liflif2 liflif2 liflif2 liflif2 liflif2 liblib3 liblib3 liblib3 liblib3 liblib3 zhazha444 zhazha444 zhazha444 zhazha444 zhazha444 dende5 dende denden denden2 denden21 fenfen9 fenf619 fen619 fenfe9 fe619 sdf sdf sdf sdf sdf zhazh90 zhazh0 zhaa50 zha90 zh590 zho zhoz zhozh zhozho zhozho2 lislis lls95 lili95 lils5 liss9 sdf0ty987 sdft876 sdft9876 sdf09876 sd0t9876 sdf0ty98 sdf0976 sdf0ty986 sdf0ty96 sdf0t76 sdf0876 df0ty98 sf0t876 sd0ty76 sdy76 sdf76 sdf0t76 sdf0ty9 sdf0ty98 sdf0ty987 sdf0ty98 sdf6676 sdf876 sd876 sd876 sdf6 sdf6 sdf9876 sdf0t sdf06 sdf0ty9776 sdf0ty9776 sdf0ty76 sdf8876 sdf0t sd6 sdf06 s688876 sd688 sdf86