change postponed to append

This commit is contained in:
Jack Thorne 2015-02-26 10:51:20 -08:00
commit 3cb7cede65

View file

@ -87,13 +87,13 @@ function prepend_path() {
} }
# #
# Prepends the PATH variable with the input path # Append the PATH variable with the input path
# #
# Arguments: # Arguments:
# 1. path - The path that will be prepened # 1. path - The path that will be append
# Return value: # Return value:
# 0 if PATH is exported to ENV # 0 if PATH is exported to ENV
# #
function postpend_path() { function append_path() {
[[ -d "$1" ]] && export PATH=$PATH:"$1" && return 0 [[ -d "$1" ]] && export PATH=$PATH:"$1" && return 0
} }