aboutsummaryrefslogtreecommitdiffstats
path: root/_profile
Commit message (Collapse)AuthorAgeFilesLines
* profile: Support miniconda3/anaconda3Aaron LI2018-07-181-0/+11
|
* profile: Do not set umask 027Aaron LI2018-07-181-1/+1
|
* profile, xbindkeysrc: cleanup a bitAaron LI2018-02-031-4/+5
|
* profile: always set sbin-directories for PATHAaron LI2018-02-021-10/+4
|
* profile: add two env vars for password-storeAaron LI2018-02-021-0/+4
|
* zsh: launch gpg-agent only on non-ssh loginsAaron LI2018-01-131-5/+0
|
* zsh: add 80-gpg.zsh to setup gpg, also fix TTY problem for ssh-supportAaron LI2017-10-201-7/+3
|
* zsh: Move LS_COLORS set from profile to zsh/90-exports.zshAaron LI2017-10-201-5/+0
|
* Add _xsessionrc to source ~/.profile for display managersAaron LI2017-09-211-4/+11
| | | | Also tweak _profile a bit.
* profile: Fix typoAaron LI2017-09-141-1/+1
|
* profile: Use `gpgconf` to start `gpg-agent`Aaron LI2017-05-311-1/+1
|
* Update command existence check functionAaron LI2017-02-281-1/+2
| | | | | | Credit: * Stackoverflow: Check if a program exists from a Bash script Credit: https://stackoverflow.com/a/677212/4856091
* profile: Start gpg-agent and use it for SSHAaron LI2017-02-281-0/+11
| | | | Credit: https://wiki.archlinux.org/index.php/GnuPG
* zsh: add function is_running()Aaron LI2017-02-281-1/+1
|
* profile: Do not explicitly set "TERM"Aaron LI2017-02-121-3/+1
| | | | | | 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.
* _profile: Remove "LC_CTYPE" again, as well as "LC_MONETARY"Aaron LI2016-12-061-2/+0
|
* _profile: Add back "LC_CTYPE=zh_CN.UTF-8"Aaron LI2016-12-061-0/+1
| | | | | | | | | | | | | | | | | | 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
* _zsh: Move some environment variables to _profileAaron LI2016-12-061-0/+7
|
* _profile: Major cleanup; Add "umask"; Remove "LC_CTYPE"Aaron LI2016-12-061-49/+40
| | | | | | | | | | | | | | | | | | | | * 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"
* Install NPM packages to ~/.npm-packagesAaron LI2016-10-291-0/+4
| | | | | | Credit: * https://github.com/glenpike/npm-g_nosudo * https://github.com/sindresorhus/guides/blob/master/npm-global-without-sudo.md
* _profile: gpg-agent: drop obsolete option --write-env-fileAaron LI2016-07-301-1/+1
|
* _profile: fix a typoAaron LI2016-07-301-2/+2
|
* Update gpg-agent settingsAaron LI2016-06-171-1/+7
|
* Move GPG_TTY to shell configurationAaron LI2016-05-151-8/+2
|
* _profile: rewrite PATH handle to avoid duplicates; add GPG_TTYAaron LI2016-05-151-9/+32
|
* _profile: improve a commentAaron LI2016-05-081-1/+1
|
* _xinitrc: move XDG_CURRENT_DESKTOP from _profileAaron LI2016-05-021-6/+0
|
* _profile: set XDG_CURRENT_DESKTOP=KDE to fix Qt5 apps appearanceAaron LI2016-05-021-1/+8
|
* _profile: change PATH orderAaron LI2016-03-131-4/+4
|
* Tune zsh configuationsAaron LI2016-02-031-5/+5
|
* Update (ZSH) shell configuration files.Aaron LI2016-01-271-29/+38
|
* Rename .* => _*; Move out private contents.Aaron LI2016-01-061-0/+56