chiark / gitweb /
Proper error checking at end of @@? condition
[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 PATH=$PATH:/usr/local/bin:/bin:/usr/bin:/usr/local/sbin:/sbin:/usr/sbin
9 PATH=$PATH:/opt/bin:@@$xbindir@@
10
11 export PATH
12
13 CDPATH=:..:$HOME:$HOME/things
14 CVS_RSH=ssh
15 CVSROOT=:ext:cvs:/ncipher/local-CVS
16 EDITOR=emacs
17 ESHELL=/usr/bin/bash
18 HISTORY=256
19 HOST=`hostname`
20 LANG=C
21 LESS="-eMfQj10"
22 # NNTPAUTH="md5cookie1way ian"
23 PAGER=less
24 # PERLLIB=$HOME/personal/linux/lib/perl5
25 PS1="$ "
26 TRNINIT=$HOME/.trninit
27 WWW_HOME=http://www.chiark.greenend.org.uk/~ijackson/
28
29 export CDPATH CVS_RSH CVSROOT EDITOR ESHELL HISTORY HOST LANG LESS
30 export PAGER PERLLIB PS1 TRNINIT WWW_HOME
31
32 # NNTPAUTH
33
34 @@?$ncipher?@@
35 NC_SITES=@@$ncipher@@:@@ $ncipher eq 'bos' ? 'cam' : 'bos' @@
36 export NC_SITES
37 @@;
38
39 unset MAILPATH
40 unset ignoreeof
41
42 umask 002