blob: 760945f7e7c5c4454fb7a2985f5b091234242c9e (
plain)
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
21
22
23
24
25
26
27
28
29
30
31
32
33
34
35
36
37
38
|
###########################################################
# ~/.profile
#
###########################################################
###### locale ######
export LANG="en_US.utf8"
export LC_CTYPE="zh_CN.utf8"
export LC_COLLATE="C"
###### input method ######
export XMODIFIERS="@im=fcitx"
export INPUT_METHOD="fcitx"
export GTK_IM_MODULE="fcitx"
export GTK3_IM_MODULE="fcitx"
export QT_IM_MODULE="fcitx"
export QT4_IM_MODULE="fcitx"
###### PATH ######
# $HOME/bin
if [ -d "$HOME/bin" ]; then
export PATH="$HOME/bin:$PATH"
fi
# admin
if `groups | grep -qE '\b(wheel|adm|sudo)\b'`; then
export PATH="$PATH:/usr/local/sbin:/usr/sbin:/sbin"
fi
# TeXlive
export PATH=$PATH:/usr/local/texlive/bin/x86_64-linux
###### gpg agent ######
eval "$(gpg-agent --daemon)"
# This file is sourced by bash for login shells. The following line
# runs your .bashrc and is recommended by the bash info pages.
[ -f ~/.bashrc ] && . ~/.bashrc
# vim: set ts=8 sw=4 tw=0 fenc=utf-8 ft=sh: #
|