mirror of
https://github.com/jimeh/dotfiles.git
synced 2026-02-19 13:46:41 +00:00
removed useless semi-colons :P
This commit is contained in:
@@ -38,8 +38,8 @@ path_list () {
|
|||||||
#
|
#
|
||||||
path_append () {
|
path_append () {
|
||||||
if [ ! -n "$1" ]; then return 2; fi
|
if [ ! -n "$1" ]; then return 2; fi
|
||||||
path_remove "$1";
|
path_remove "$1"
|
||||||
export PATH="$PATH:$1";
|
export PATH="$PATH:$1"
|
||||||
}
|
}
|
||||||
|
|
||||||
# Prepend specified path to the begnning of PATH.
|
# Prepend specified path to the begnning of PATH.
|
||||||
@@ -60,8 +60,8 @@ path_append () {
|
|||||||
#
|
#
|
||||||
path_prepend () {
|
path_prepend () {
|
||||||
if [ ! -n "$1" ]; then return 2; fi
|
if [ ! -n "$1" ]; then return 2; fi
|
||||||
path_remove "$1";
|
path_remove "$1"
|
||||||
export PATH="$1:$PATH";
|
export PATH="$1:$PATH"
|
||||||
}
|
}
|
||||||
|
|
||||||
# Remove specified path from PATH.
|
# Remove specified path from PATH.
|
||||||
|
|||||||
Reference in New Issue
Block a user