mirror of
https://github.com/ohmyzsh/ohmyzsh.git
synced 2026-03-13 03:12:21 +01:00
change postponed to append
This commit is contained in:
parent
778f31eaac
commit
3cb7cede65
1 changed files with 3 additions and 3 deletions
|
|
@ -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
|
||||
}
|
||||
|
|
|
|||
Loading…
Add table
Add a link
Reference in a new issue