From: Alexander Barton Date: Sun, 9 Dec 2018 19:34:06 +0000 (+0100) Subject: 20_home: PATH is handled in 40_path X-Git-Url: https://arthur.barton.de/cgi-bin/gitweb.cgi?p=ax-zsh.git;a=commitdiff_plain;h=cd83ddae1136fbe864136c1344399ce50516be55 20_home: PATH is handled in 40_path Remove duplicate code. --- diff --git a/core/20_home/20_home.zprofile b/core/20_home/20_home.zprofile index adab90b..4bad86a 100644 --- a/core/20_home/20_home.zprofile +++ b/core/20_home/20_home.zprofile @@ -7,10 +7,3 @@ [[ -w "/usr/local/home/$LOGNAME" ]] \ && export LOCAL_HOME="/usr/local/home/$LOGNAME" \ || export LOCAL_HOME="$HOME" - -# Update PATH to include directories inside of the $HOME directory -typeset -U path -for dir in ~/bin ~/sbin ~/Applications; do - [[ -d "$dir" ]] && path[1,0]="$dir" -done -unset dir