mirror of
https://github.com/tonydamage/nux-env.git
synced 2025-12-11 13:24:28 +01:00
Added taskie configuration & other stuff.
Signed-off-by: Tony Tkacik <tonydamage@gmail.com>
This commit is contained in:
parent
6dafaf5b9d
commit
fc1b5bbc87
19 changed files with 744 additions and 7 deletions
|
|
@ -10,7 +10,7 @@ nux.nuxsh.language.def() {
|
|||
|
||||
local args="((($uarg|$darg|$sarg) *)*)";
|
||||
|
||||
local prefixed_id="([^ :]*:)?($identifier)"
|
||||
local prefixed_id="([^= :]*:)?($identifier)"
|
||||
|
||||
.match.line() {
|
||||
local type="$1";
|
||||
|
|
@ -107,7 +107,12 @@ nux.nuxsh.language.def() {
|
|||
.identifier() {
|
||||
if [ -n "$prefix" ]; then
|
||||
local var=_import_prefix_${prefix%:}
|
||||
local prepend=${!var};
|
||||
local prepend;
|
||||
if [ -n "$var" ]; then
|
||||
prepend=${!var};
|
||||
else
|
||||
prepend=$_namespace;
|
||||
fi
|
||||
if [ -z "$prepend" ] ; then
|
||||
nudsl.process.fail "undefined prefix: $prefix";
|
||||
fi
|
||||
|
|
|
|||
Loading…
Add table
Add a link
Reference in a new issue