2 # $Header: /var/cvsroot/gentoo-x86/app-shells/zsh/files/zprofile,v 1.5 2008/05/23 12:02:51 tove Exp $
4 # Load environment settings from profile.env, which is created by
5 # env-update from the files in /etc/env.d
6 if [ -e /etc/profile.env ] ; then
10 # You should override these in your ~/.zprofile (or equivalent) for per-user
11 # settings. For system defaults, you can add a new file in /etc/profile.d/.
12 export EDITOR=${EDITOR:-/usr/bin/vim}
13 export PAGER=${PAGER:-/usr/bin/less}
15 # 077 would be more secure, but 022 is generally quite realistic
18 # Setup the default path.
19 path_front /{bin,sbin} /usr/{bin,sbin} /usr/local/{bin,sbin} $HOME/bin
23 for sh in /etc/profile.d/*.sh ; do
24 [ -r "$sh" ] && . "$sh"
31 eval `dircolors --sh /etc/DIR_COLORS`
32 if [[ -n "$LS_COLORS" && -z "$COLORTERM" ]]; then
33 export COLORTERM="ansi"