Skip to content

Commit

Permalink
xdefault 兼容字体 / bash screen 256 色环境变量
Browse files Browse the repository at this point in the history
  • Loading branch information
lvii committed Jun 17, 2011
1 parent 26b2dba commit eac82b4
Show file tree
Hide file tree
Showing 2 changed files with 7 additions and 5 deletions.
10 changes: 5 additions & 5 deletions .Xdefaults
Original file line number Diff line number Diff line change
Expand Up @@ -254,13 +254,13 @@ XTerm*utf8Title: true
XTerm*xftAntialias: true
Xterm.cjkWidth: true

!XTerm*faceName : Envy Code R:pixelsize=12
!XTerm*faceNameDoublesize : WenQuanYi Micro Hei Mono:pixelsize=12
XTerm*faceName : Envy Code R:pixelsize=13
XTerm*faceNameDoublesize : WenQuanYi Micro Hei Mono:pixelsize=13

! 等价于 xterm -fa 'Envy Code R' -fs 10
! Fedora / Debian 下不能生效
XTerm*faceName : Envy Code R-10
XTerm*faceNameDoublesize : WenQuanYi Micro Hei-10
! XXX Fedora / Debian 下不能生效
!XTerm*faceName : Envy Code R-10
!XTerm*faceNameDoublesize : WenQuanYi Micro Hei-10

XTerm*ttyModes: erase ^?

Expand Down
2 changes: 2 additions & 0 deletions .bashrc
Original file line number Diff line number Diff line change
Expand Up @@ -215,6 +215,8 @@ export LESS_TERMCAP_ue=$'\E[0m' # end underline
export LESS_TERMCAP_us=$'\E[1;32m' # begin underline
#}}}

export TERM=xterm-256color

# [ tmux 256 color 提示符 ]# {{{
#--------------------------------------------

Expand Down

0 comments on commit eac82b4

Please sign in to comment.