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
|
|
@ -2,8 +2,9 @@
|
|||
##
|
||||
function nux.check.function {
|
||||
nux.log trace "Checking if $1 is function."
|
||||
declare -f "$1" &>/dev/null && return 0
|
||||
test "$(type -t "$1")" = "function" && return 0
|
||||
return 1
|
||||
|
||||
}
|
||||
|
||||
function nux.check.nuxenv.file {
|
||||
|
|
|
|||
Loading…
Add table
Add a link
Reference in a new issue