minor updates
[pkgusr] / etc / pkgusr / bash_profile
1 # couple of environment settings to ensure sanity
2 set +h
3 umask 022
4 LC_ALL=POSIX
5
6 ## PATH
7 # The wrappers directory must be the first entry in the PATH.  
8 #
9 # Once you are no longer needing or using the tools dir you can remove it
10 # from the PATH if you want, but leaving it there won't hurt.
11 #PATH=/usr/lib/pkgusr:/usr/bin:/bin:/usr/X11R6/bin:/opt/qt/bin:/tools/bin
12 PATH=/usr/lib/pkgusr:/usr/bin:/bin:/usr/X11R6/bin:/opt/qt/bin
13
14 ## A couple things to make less(1) nicer.
15 LESS=-MRgisw
16 LESSCHARSET=latin1
17 LESSOPEN='|lesspipe.sh %s'
18
19 ## Timezone -- set to your local zone
20 TZ='Australia/Brisbane'
21
22 ## pkg-config
23 PKG_CONFIG_PATH=$(pkg-config --variable pc_path pkg-config):/usr/X11R6/lib/pkgconfig:/usr/X11R6/share/pkgconfig
24 PKG_CONFIG_PATH=${PKG_CONFIG_PATH}:/opt/qt/lib/pkgconfig
25
26 ## QT
27 QTDIR=/opt/qt
28
29 ### export everything
30 export LC_ALL PATH LESS LESSCHARSET LESSOPEN TZ PKG_CONFIG_PATH QTDIR
31
32
33 # Make prompt reflect that we are a package user.
34 export PROMPT_COMMAND='PS1="[pkgusr (\u)] \w> "'
35
36 # Suck in some handy shell functions
37 . /etc/pkgusr/handy_funcs
38
39 # If they exist, load any private settings.  This comes last so that
40 # we can override any system defaults if need be
41 if [ -f ${HOME}/.pkgusrrc ]; then
42         . ${HOME}/.pkgusrrc
43 fi
44
45 # Go to the home directory whenever we su to a package user.
46 cd