diff options
author | Peter Stephenson <p.w.stephenson@ntlworld.com> | 2017-01-28 19:33:27 +0000 |
---|---|---|
committer | Peter Stephenson <p.w.stephenson@ntlworld.com> | 2017-01-28 19:33:27 +0000 |
commit | 34f70c5dc08bbecd20fbb8a1797851103fbad45e (patch) | |
tree | 5170a04f299804c871a9c6ba913d5d07bfa576b2 /Test/C04funcdef.ztst | |
parent | ea7b4d4b2da60fe44019b1c0e298a202a3b211b7 (diff) | |
download | zsh-34f70c5dc08bbecd20fbb8a1797851103fbad45e.tar.gz zsh-34f70c5dc08bbecd20fbb8a1797851103fbad45e.tar.xz zsh-34f70c5dc08bbecd20fbb8a1797851103fbad45e.zip |
40440: Add $functions_source hash to zsh/parameter.
This allows you to find out where a function was loaded from.
Diffstat (limited to 'Test/C04funcdef.ztst')
-rw-r--r-- | Test/C04funcdef.ztst | 4 |
1 files changed, 2 insertions, 2 deletions
diff --git a/Test/C04funcdef.ztst b/Test/C04funcdef.ztst index 5edbe26bb..176841dd2 100644 --- a/Test/C04funcdef.ztst +++ b/Test/C04funcdef.ztst @@ -325,10 +325,10 @@ printf '%s\n' 'oops(){}' 'ninjas-earring(){}' 'oops "$@"' >oops autoload oops oops - whence -v oops + whence -v oops | sed -e "s%$PWD%CURDIR%" ) 0:whence -v of zsh-style autoload ->oops is a shell function from ./oops +>oops is a shell function from CURDIR/oops ( fpath=(.) |