fix encoding utf-8 maybe
[hombase.git] / .profile
blobe5fc7b8c40265823571cc51cda2f2a65f124a807
1 #case-insensitive when expand file name
2 shopt -s nocaseglob
3 set completion-ignore-case on 
5 # history setting
6 #Make Bash append rather than overwrite the history on disk
7 shopt -s histappend
8 #Whenever displaying the prompt, write the previous line to disk
9 PROMPT_COMMAND='history -a'
10 export HISTCONTROL=ignoredups
11 export HISTIGNORE="[   ]*:&:bg:fg:hs *:history:exit"
12 export HISTTIMEFORMAT="%d/%m/%y %T "
13 HISTFILESIZE=500000000
14 HISTSIZE=500000
17 #fortune
19 # for cvs env
20 export CVSROOT=":pserver:lifan@localhost:/l/cvsdev"
21 #export CVSROOT=":ext:lifan@localhost:/l/cvsdev"
22 #export CVS_RSH="ssh"
24 #for the nt proȨÏÞ
25 #export CYGWIN="nontsec nosmbntsec tty"
26 #export CYGWIN="nodosfilewarning"
28 #for man conf
29 export MANPATH=/usr/local/man:/usr/local/share/man:/usr/share/man:/usr/man:/usr/ssl/man
31 #for python lib path
32 export PYTHONSTARTUP=/home/lifan/.pythonstartup
33 #set PYTHONDOCS=d:\Python\Doc
34 export PYTHONPATH="/usr/local/lib/python2.5/site-packages:/home/lifan/other-sh"
36 #for the x win path
37 #GDK_USE_XFT=0
39 #for usr path
40 export PATH=~/.local/bin:$PATH
42 #for pkg-config path
43 #export PKG_CONFIG_PATH="/usr/lib/pkgconfig/:/usr/local/lib/pkgconfig/"
45 # for the display Chinese Char
46 source ~/.myprofile
48 #from bashrc
49 #LC_CTYPE=zh_CN.GB2312
50 #CHARSET=GB2312 
51 LC_CTYPE=zh_CN.UTF-8
52 #LC_CTYPE=C
53 CHARSET=UTF-8
54 export LC_CTYPE CHARSET
55 #export XMODIFIERS="@im=fcitx" 
56 XML_CATALOG_FILES=$HOME/conf/catalog.xml\ /etc/xml/catalog
57 export XML_CATALOG_FILES
59 #clear