1
1
Fork 0
mirror of https://github.com/tonydamage/nux-env.git synced 2025-12-11 13:24:28 +01:00

Removed unnecessary variables.

This commit is contained in:
Tony Tkáčik 2017-06-21 15:05:26 +02:00
parent 7a53e76d85
commit 0888955756

View file

@ -149,6 +149,11 @@ function nux.check.function {
return 1
}
function nux.check.nuxenv.file {
path=$(realpath -Lms "$1")
[[ "$path" =~ "^$NUX_ENV_DIR" ]]
}
function nux.check.exec {
local binary=$1;
test -n "$(which "$binary")"
@ -205,7 +210,3 @@ function nux.url.parse {
-re "s/(([^:\/]*):\/\/)?(([^@\/:]*)@)?([^:\/]+)(:([0-9]+))?(\/(.*))?/$format/g"
}
NUX_ENV_MACHINE=/usr/
NUX_ENV_MACHINE_LOCAL=/usr/local/
NUX_ENV_USER_LOCAL=$HOME/.local