idc changed a lot of files
This commit is contained in:
parent
628baf3eea
commit
94d2955ab0
31 changed files with 267 additions and 80 deletions
|
@ -1,3 +1,15 @@
|
|||
export PATH="$1:$PATH"
|
||||
[ -z "$1" ] && {
|
||||
echo "Missing path parameter!" >&2
|
||||
return 1
|
||||
}
|
||||
|
||||
full_path="$(readlink -e "$1")"
|
||||
|
||||
[ ! -d "$full_path" ] && {
|
||||
echo "Path doesn't exist!" >&2
|
||||
return 1
|
||||
}
|
||||
|
||||
export PATH="$full_path:$PATH"
|
||||
|
||||
# vim: ft=sh
|
||||
|
|
Loading…
Add table
Add a link
Reference in a new issue