1
1
Fork 0
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:
Tony Tkáčik 2019-01-28 06:22:49 +01:00
parent 6dafaf5b9d
commit fc1b5bbc87
19 changed files with 744 additions and 7 deletions

View file

@ -31,7 +31,7 @@
## fixmes::
## List all fixmes for nux-env
function :fixmes {
fgrep -n FIXME "$NUX_INC_DIR/..bin/"*
fgrep -n FIXME "$NUX_INC_DIR/..bin/"*
find "$NUX_INC_DIR" -iname "*.sh" | xargs fgrep -n FIXME
}
@ -39,6 +39,13 @@
## Displays help for specified nuxs-env library.
##
function :help.library name {
nux.help.comment $NUX_INC_DIR/$name.inc.sh
nux.log debug "Library"
if [ -e "$NUX_INC_DIR/$name.inc.sh" ] {
nux.help.comment $NUX_INC_DIR/$name.inc.sh
elif [ -e "$NUX_INC_DIR/$name.nuxsh.sh" ]; then
nux.help.comment $NUX_INC_DIR/$name.nuxsh.sh
else
nux.fatal "Library not found"
}
}
}