| Commit message (Collapse) | Author | Age | Files | Lines |
|
|
|
| |
Credit: https://wiki.archlinux.org/index.php/GnuPG
|
| |
|
|
|
|
|
|
| |
Let the terminal application to set the appropriate terminal type,
e.g., tmux will set its TERM to "screen-256color" which will work
well with ZSH special key bindings.
|
| |
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
| |
NOTE
----
FontConfig will check the language against system locales, in order
to prepend/enable corresponding fonts.
For example, Noto CJK font provides multiple variants for the same glyph
regions, e.g., "Noto Sans CJK JP" and "Noto Sans CJK SC" may *both* be
selected/matched to display Chinese, and the former may even get
precedence which is unexpected (see also: Han Unification [1]).
Therefore, "LC_CTYPE=zh_CN.UTF-8" should be added back, and explicitly
select the wanted/correct font (e.g., "Noto Sans CJK SC") for specific
language (e.g., "zh-cn").
[1] https://en.wikipedia.org/wiki/Han_unification
|
| |
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
| |
* Major cleanup:
- Re-organize the settings
- Some style/comments updates
- New functions: "_exists()" and "_running()"
- Remove "gpg-agent --daemon"
- Remove "OSFONTDIR"
* Add "umask" to "027" to be more private!
* Add "LC_MONETARY=zh_CN.UTF-8"
* Remove "LC_CTYPE", which affects the behaviors of FontConfig!
(see below note)
NOTE:
With "LC_CTYPE=zh_CN.UTF-8", a Chinese font (or a font with Chinese
language support) is always preprended to the generic font families
(i.e., serif, sans-serif, monospace), which overrides the
<alias><prefer> configurations.
It is also tested that Fcitx works OK without "LC_CTYPE=zh_CN.UTF-8"
|
|
|
|
|
|
| |
Credit:
* https://github.com/glenpike/npm-g_nosudo
* https://github.com/sindresorhus/guides/blob/master/npm-global-without-sudo.md
|
| |
|
| |
|
| |
|
| |
|
| |
|
| |
|
| |
|
| |
|
| |
|
| |
|
| |
|
|
|