From 62a4c133c6b432795f5b0771f8ba32b15b83975a Mon Sep 17 00:00:00 2001 From: Markus Hubig Date: Sat, 16 Nov 2013 02:25:20 +0100 Subject: [PATCH] Moves the path settings to zprofile. This is needed on Mac OS X (10.9) because /etc/zprofile is loaded after ~/.zshenv and overwrites the path settings with a call to `path_helper`. Signed-off-by: Markus Hubig --- runcoms/zprofile | 16 ++++++++++++++++ runcoms/zshenv | 17 ----------------- 2 files changed, 16 insertions(+), 17 deletions(-) diff --git a/runcoms/zprofile b/runcoms/zprofile index 2a3d07e6..80194cea 100644 --- a/runcoms/zprofile +++ b/runcoms/zprofile @@ -5,3 +5,19 @@ # Sorin Ionescu # +# +# Paths +# + +typeset -gU cdpath fpath mailpath path + +# Set the the list of directories that cd searches. +# cdpath=( +# $cdpath +# ) + +# Set the list of directories that Zsh searches for programs. +path=( + /usr/local/{bin,sbin} + $path +) diff --git a/runcoms/zshenv b/runcoms/zshenv index 9ff39e06..40fe783d 100644 --- a/runcoms/zshenv +++ b/runcoms/zshenv @@ -29,23 +29,6 @@ if [[ -z "$LANG" ]]; then export LANG='en_US.UTF-8' fi -# -# Paths -# - -typeset -gU cdpath fpath mailpath path - -# Set the the list of directories that cd searches. -# cdpath=( -# $cdpath -# ) - -# Set the list of directories that Zsh searches for programs. -path=( - /usr/local/{bin,sbin} - $path -) - # # Less #