小编Chi*_*nke的帖子

无法在 gnome 终端中获得正确的颜色

我想从这里使用 base16 颜色方案。我遵循的步骤:

  1. 克隆了 repo
  2. 运行脚本
  3. 将终端配置文件更改为base16-default(确实更改了颜色)

这是与存储库自述文件中的屏幕截图相比的结果。

截屏

我正在运行 12.04。这里有更多信息。

$ echo $TERM
xterm 
$ echo $COLORTERM
gnome-terminal
Run Code Online (Sandbox Code Playgroud)

而我的.bashrc.

# ~/.bashrc: executed by bash(1) for non-login shells.
# see /usr/share/doc/bash/examples/startup-files (in the package bash-doc)
# for examples

# If not running interactively, don't do anything
[ -z "$PS1" ] && return

# don't put duplicate lines in the history. See bash(1) for more options
# ... or force ignoredups and ignorespace
HISTCONTROL=ignoredups:ignorespace

# append …
Run Code Online (Sandbox Code Playgroud)

colors gnome-terminal xterm 12.04

6
推荐指数
2
解决办法
9622
查看次数

标签 统计

12.04 ×1

colors ×1

gnome-terminal ×1

xterm ×1