]> git.draconx.ca Git - zshconf.git/blob - zprofile
Set HISTSIZE to 10000.
[zshconf.git] / zprofile
1 # Load environment settings from profile.env, which is created by env-update
2 # from the files in /etc/env.d
3 if [[ -e /etc/profile.env ]]; then
4         source /etc/profile.env
5 fi
6
7 # Default path
8 path_front /{bin,sbin} /usr/{bin,sbin} /usr/local/{bin,sbin} $HOME/bin
9
10 # Default user settings
11 export EDITOR=${EDITOR:-=vim}
12 export PAGER=${PAGER:-=less}
13 umask 022
14
15 shopts=$-
16 setopt nullglob
17
18 for sh in /etc/profile.d/*.sh ; do
19         if [[ -r $sh ]]; then
20                 source $sh
21         fi
22 done
23
24 unsetopt nullglob
25 set -$shopts
26 unset sh shopts
27
28 # Setup colours
29 eval `dircolors --sh /etc/DIR_COLORS`
30 if [[ -n "$LS_COLORS" && -z "$COLORTERM" ]]; then
31         export COLORTERM="ansi"
32 fi