where is a function defined
This commit is contained in:
parent
14e8fcb0de
commit
c0d07b5dd3
@ -185,3 +185,8 @@ transfer() {
|
|||||||
# cleanup
|
# cleanup
|
||||||
rm -f $tmpfile
|
rm -f $tmpfile
|
||||||
}
|
}
|
||||||
|
# Where is a function defined?
|
||||||
|
function whichfunc() {
|
||||||
|
whence -v $1
|
||||||
|
type -a $1
|
||||||
|
}
|
||||||
|
Loading…
Reference in New Issue
Block a user