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/pkg/bin
25 append_path PATH /usr/pkg/sbin
26 append_path PATH /usr/local/bin
27 append_path PATH /usr/local/sbin
28 # Hope these could be removed someday!
29 append_path PATH /usr/local/ymir/perl/bin
33 append_path MANPATH /usr/share/man
34 append_path MANPATH /usr/pkg/man
35 append_path MANPATH /usr/local/man
36 append_path MANPATH /usr/local/share/man
40 append_path INFOPATH /usr/share/info
41 append_path INFOPATH /usr/pkg/info
42 append_path INFOPATH /usr/local/info
43 append_path INFOPATH /usr/local/share/info
46 export PKG_CONFIG_PATH=""
47 append_path PKG_CONFIG_PATH /usr/lib/pkgconfig
48 append_path PKG_CONFIG_PATH /usr/pkg/lib/pkgconfig
49 append_path PKG_CONFIG_PATH /usr/local/lib/pkgconfig
51 # DYLD_FALLBACK_LIBRARY_PATH (Only for Darwin)
52 export DYLD_FALLBACK_LIBRARY_PATH=""
53 append_path DYLD_FALLBACK_LIBRARY_PATH /usr/pkg/lib
57 export LANG="ja_JP.UTF-8"
58 export OUTPUT_CHARSET="UTF-8"
64 # Application Settings
66 export LESS="--quit-if-one-screen"
67 export GTK_IM_MODULE=uim
70 export DARCS_EMAIL="pho@cielonegro.org"
71 export DARCS_DONT_ESCAPE_8BIT=1