comparison .zshenv @ 0:c30d68fbd368

Initial import from svn.
author Augie Fackler <durin42@gmail.com>
date Wed, 26 Nov 2008 10:56:09 -0600
parents
children 62bfb554ab85
comparison
equal deleted inserted replaced
-1:000000000000 0:c30d68fbd368
1 # generic settings
2 ulimit -c 0 # no core dumps
3 setopt CORRECT
4 setopt autolist # List tab-complete opts after the first tab
5 setopt c_bases
6 setopt autocd # Allows one to type just a dir name to cd to that dir
7 complete='enhance'
8 WORDCHARS=${WORDCHARS//[\/.]}
9 setopt no_beep # don't beep about stuff
10
11 # History Settings
12 HISTFILE=~/.zhistory
13 setopt histignoredups
14 HISTSIZE='10000'
15 SAVEHIST='10000'
16 setopt extended_history
17 setopt hist_save_no_dups # don't save duplicates in history
18 setopt inc_append_history # append to history file so multiple processes DTRT
19
20 # Get me colors in ls
21 export CLICOLOR="yes"
22 export LSCOLORS="exgxcxDxCxEGEDcbcgExEx"
23
24 # Generic environment variables
25 export PAGER='less -M -X'
26 export EDITOR='vim'
27 export SVN_MERGE='svn-hgmerge.py'
28 export CVS_RSH='ssh'
29 export LESS="-R"
30
31 source $HOME/.zsh/00.path_manipulation.zsh
32 insert_path_element ~/unixSoft/bin
33 unset MANPATH # smart man(1)s autodetect that from PATH.
34
35 # Python stuff
36 export PYTHONSTARTUP="$HOME/.python/startup.py"
37
38 local MYPYTHONPATH="$HOME/unixSoft/lib/python:/opt/durin/lib/svn-python"
39 if [[ "$PYTHONPATH" == "" ]] ; then
40 export PYTHONPATH="$MYPYTHONPATH"
41 else
42 export PYTHONPATH="$PYTHONPATH:$MYPYTHONPATH"
43 fi
44
45 # prep to parse the zshenv-machine
46 if [[ "x$TZ" == "x" ]] ; then
47 export MACHINE_TZ="xNoTimeZone"
48 local DEFAULT_TZ="America/Detroit"
49 fi
50
51 # Do this right before the timezone stuff
52 if [[ -a ~/.zshenv-machine ]]; then
53 source ~/.zshenv-machine
54 fi
55
56 # do this last so that we can tell if .zshenv-machine set the timezone
57 if [[ "x$TZ" == "x" ]] ; then
58 if [ "$MACHINE_TZ" = "xNoTimeZone" ]; then
59 export TZ="$DEFAULT_TZ"
60 else
61 export TZ="$MACHINE_TZ"
62 fi
63 fi