mirror of https://github.com/jorgebucaran/fisher
Add instrumentation using fishery/debug.
parent
3516a80aee
commit
89c01dc235
@ -1,3 +1,5 @@
|
|||||||
function __fisher_plugin_link -a options source target
|
function __fisher_plugin_link -a options source target
|
||||||
|
debug "Link '%s'" $target
|
||||||
|
|
||||||
command ln $options $source $target
|
command ln $options $source $target
|
||||||
end
|
end
|
||||||
|
@ -1,3 +1,5 @@
|
|||||||
function __fisher_plugin_source -a plugin file
|
function __fisher_plugin_source -a plugin file
|
||||||
|
debug "Source '%s'" $file
|
||||||
|
|
||||||
source "$file" ^ /dev/null
|
source "$file" ^ /dev/null
|
||||||
end
|
end
|
||||||
|
@ -1,4 +1,7 @@
|
|||||||
function __fisher_plugin_unlink -a name file
|
function __fisher_plugin_unlink -a name file
|
||||||
|
debug "Unlink '%s'" $file
|
||||||
command rm -f $file
|
command rm -f $file
|
||||||
|
|
||||||
|
debug "Erase function '%s'" $name
|
||||||
functions -e $name
|
functions -e $name
|
||||||
end
|
end
|
||||||
|
@ -0,0 +1,2 @@
|
|||||||
|
function debug
|
||||||
|
end
|
Loading…
Reference in New Issue