where is a function defined
This commit is contained in:
@ -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
|
||||||
|
}
|
||||||
|
Reference in New Issue
Block a user