7 if [ -d "$_path" ]; then
8 local _var=$(eval echo $(printf '$%s' "$_varname"))
10 if [ "$_var" = "" ]; then
11 eval $(printf 'export %s="%s"' "$_varname" "$_path")
13 eval $(printf 'export %s="%s:$%s"' "$_varname" "$_path" "$_varname")
21 append_path PATH /sbin
22 append_path PATH /usr/bin
23 append_path PATH /usr/sbin
24 append_path PATH /usr/local/bin
25 append_path PATH /usr/local/sbin
26 append_path PATH /usr/pkg/bin
27 append_path PATH /usr/pkg/sbin
28 append_path PATH /usr/pkg/lib/perl5/site_perl/bin
29 append_path PATH $HOME/bin
30 # Hope these could be removed someday!
31 append_path PATH /usr/local/ymir/perl/bin
32 append_path PATH /usr/local/ymir/erlang/bin
36 append_path MANPATH /usr/share/man
37 append_path MANPATH /usr/local/man
38 append_path MANPATH /usr/local/share/man
39 append_path MANPATH /usr/pkg/man
43 append_path INFOPATH /usr/share/info
44 append_path INFOPATH /usr/local/info
45 append_path INFOPATH /usr/local/share/info
46 append_path INFOPATH /usr/pkg/info
49 export PKG_CONFIG_PATH=""
50 append_path PKG_CONFIG_PATH /usr/lib/pkgconfig
51 append_path PKG_CONFIG_PATH /usr/local/lib/pkgconfig
52 append_path PKG_CONFIG_PATH /usr/pkg/lib/pkgconfig
54 # TMPDIR (Only for Darwin)
55 if [ `uname` = "Darwin" ]; then
56 if [ "$TMPDIR" = "" ]; then
57 export TMPDIR=`getconf DARWIN_USER_TEMP_DIR`
61 # DYLD_FALLBACK_LIBRARY_PATH (Only for Darwin)
62 export DYLD_FALLBACK_LIBRARY_PATH=""
63 #append_path DYLD_FALLBACK_LIBRARY_PATH /usr/lib
64 #append_path DYLD_FALLBACK_LIBRARY_PATH /usr/pkg/lib
68 export LANG="ja_JP.UTF-8"
69 export OUTPUT_CHARSET="UTF-8"
75 # Application Settings
77 export LESS="--quit-if-one-screen -R"
78 export GTK_IM_MODULE=uim
82 export DARCS_EMAIL="pho@cielonegro.org"
83 export DARCS_DONT_ESCAPE_8BIT=1
95 if [ -e /opt/intel/cce/latest/bin/iccvars.sh ]; then
96 . /opt/intel/cce/latest/bin/iccvars.sh
97 . /opt/intel/ipp/latest/em64t/tools/env/ippvarsem64t.sh