From 3cb7cede65a83737127a61c02d0f1074fd63687c Mon Sep 17 00:00:00 2001 From: Jack Thorne Date: Thu, 26 Feb 2015 10:51:20 -0800 Subject: [PATCH] change postponed to append --- lib/functions.zsh | 6 +++--- 1 file changed, 3 insertions(+), 3 deletions(-) diff --git a/lib/functions.zsh b/lib/functions.zsh index 2c8b25581..570c19e66 100644 --- a/lib/functions.zsh +++ b/lib/functions.zsh @@ -87,13 +87,13 @@ function prepend_path() { } # -# Prepends the PATH variable with the input path +# Append the PATH variable with the input path # # Arguments: -# 1. path - The path that will be prepened +# 1. path - The path that will be append # Return value: # 0 if PATH is exported to ENV # -function postpend_path() { +function append_path() { [[ -d "$1" ]] && export PATH=$PATH:"$1" && return 0 }