Mahmoud Al-Qudsi d651cdacbe Extend type --path to print path to script defining named function
Expands the utility of `type -p foo` by allowing it to print the path to
the script that defines `foo` when `foo` is a valid function that was
sourced from a path on disk (rather than interactively defined).

This does not change the behavior of `type -P`/`type --force-path`,
which should have already been used if the desire was to resolve the
path to an executable file (otherwise the output would have been blank
if a function was shadowing an executable file of the same namea), so no
backwards compatibility issues are expected.
2019-01-23 17:51:47 -06:00
..
2016-11-27 21:27:22 -08:00
2018-10-29 13:56:40 -05:00
2016-11-27 21:27:22 -08:00
2018-05-12 13:48:32 +02:00
2016-11-27 21:27:22 -08:00
2017-02-18 22:16:55 +01:00
2016-11-27 21:27:22 -08:00
2017-07-13 11:50:57 -07:00
2017-07-13 11:53:29 -07:00
2016-11-27 21:27:22 -08:00
2016-11-27 21:27:22 -08:00
2017-10-01 01:11:17 -07:00
2019-01-13 16:14:58 -06:00
2016-11-27 21:27:22 -08:00
2018-11-22 12:43:35 +01:00
2018-11-22 12:43:35 +01:00
2016-11-27 21:27:22 -08:00
2018-12-13 21:57:24 +08:00
2016-11-27 21:27:22 -08:00
2016-11-27 21:27:22 -08:00
2016-11-27 21:27:22 -08:00
2018-11-29 20:28:29 +01:00
2016-11-27 21:27:22 -08:00
2018-11-22 12:43:35 +01:00
2018-11-22 12:43:35 +01:00
2017-09-22 00:30:26 -07:00
2017-04-05 15:31:13 -07:00
2018-02-19 20:21:02 +01:00
2016-11-27 21:27:22 -08:00