Fix Tramp usage
[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.  Once
8 # you are no longer needing or using the tools dir you can remove it
9 # from the PATH if you want, but leaving it there won't hurt
10 PATH=/usr/lib/pkgusr:/usr/bin:/bin:/usr/X11R6/bin:/tools/bin
11
12 ## A couple things to make less(1) nicer.
13 LESS=-MRgisw
14 LESSCHARSET=latin1
15 LESSOPEN='|lesspipe.sh %s'
16
17 ## Timezone -- set to your local zone
18 TZ='Australia/Brisbane'
19
20 ## pkg-config
21 PKG_CONFIG_PATH=/usr/lib/pkgconfig:/usr/X11R6/lib/pkgconfig
22
23 ### export everything
24 export LC_ALL PATH LESS LESSCHARSET LESSOPEN TZ PKG_CONFIG_DIR
25
26
27 # Make prompt reflect that we are a package user.
28 export PROMPT_COMMAND='PS1="[pkgusr (\u)] \w> "'
29
30 # Suck in some handy shell functions
31 . /etc/pkgusr/handy_funcs
32
33 # If they exist, load any private settings.  This comes last so that
34 # we can override any system defaults if need be
35 if [ -f ${HOME}/.pkgusrrc ]; then
36         . ${HOME}/.pkgusrrc
37 fi
38
39 # Go to the home directory whenever we su to a package user.
40 cd