【问题标题】:Where are the Zshell colors set?Zshell 颜色设置在哪里?
【发布时间】:2018-01-23 21:25:51
【问题描述】:

我在我的项目中得到了这些时髦的颜色,现在我知道在哪里禁用它们了。它们丑陋且令人分心, - 我不知道它们是什么意思。我试过禁用一切,但它们仍然出现。

我正在使用Powerlevel9k-theme

【问题讨论】:

  • 查看ls 的联机帮助页。可能您的启动文件之一设置了LS_COLORS 和别名lsls --colors=auto

标签: terminal zsh oh-my-zsh


【解决方案1】:

偶然地,我在我的 iTerm-setup 中为可执行文件摆弄颜色时找到了答案。答案是设置这些颜色的不是 Zshell。它是 LSCOLOR 变量,可以在 .bash_profile-file 或 .zshrc-file 中找到。

在此处查看如何更改颜色:Change colors on executable files in the terminal (or iTerm2)

【讨论】:

    猜你喜欢
    • 2011-03-22
    • 1970-01-01
    • 2011-03-18
    • 1970-01-01
    • 1970-01-01
    • 2016-04-20
    • 1970-01-01
    • 1970-01-01
    • 1970-01-01
    相关资源
    最近更新 更多