chiark / gitweb /
Fix up PATH on Solaris.
[ian-dotfiles.git] / files / _.configs_setenvir
1 #!/bin/sh
2 # Set up the environment:
3
4 PATH=$HOME/personal/@@$platform@@/bin:$HOME/personal/scripts/bin
5 @@?$ncipher?@@@@#
6 PATH=$PATH:$HOME/personal/crypto/scripts
7 @@;@@#
8 @@? -d '/opt/bin' ?@@@@#
9 PATH=$PATH:/opt/bin
10 @@;@@#
11 PATH=$PATH:/usr/local/bin:/bin:/usr/bin:/usr/local/sbin:/sbin:/usr/sbin
12 @@? $uname eq 'SunOS' ?@@@@#
13 PATH=$PATH:/usr/ccs/bin
14 @@;@@#
15 PATH=$PATH:@@$xbindir@@
16
17 export PATH
18
19 CDPATH=:..:$HOME:$HOME/things
20 CVS_RSH=ssh
21 CVSROOT=:ext:cvs:/ncipher/local-CVS
22 EDITOR=emacs
23 ESHELL=/usr/bin/bash
24 HISTORY=256
25 HOST=`hostname`
26 LANG=C
27 LESS="-eMfQj10"
28 # NNTPAUTH="md5cookie1way ian"
29 PAGER=less
30 # PERLLIB=$HOME/personal/linux/lib/perl5
31 PS1="$ "
32 TRNINIT=$HOME/.trninit
33 WWW_HOME=http://www.chiark.greenend.org.uk/~ijackson/
34
35 export CDPATH CVS_RSH CVSROOT EDITOR ESHELL HISTORY HOST LANG LESS
36 export PAGER PERLLIB PS1 TRNINIT WWW_HOME
37
38 # NNTPAUTH
39
40 @@?$ncipher?@@
41 NC_SITES=@@$ncipher@@:@@ $ncipher eq 'bos' ? 'cam' : 'bos' @@
42 export NC_SITES
43 @@;
44
45 unset MAILPATH
46 unset ignoreeof
47
48 umask 002