mirror of
https://github.com/fish-shell/fish-shell.git
synced 2026-06-07 01:51:14 -03:00
implement means to learn about a functions source
This implements a way to use the `functions` command to perform introspection to learn about the characteristics of a function. Such as where it came from. Fixes #3295
This commit is contained in:
@@ -55,6 +55,5 @@ or echo "Function name3a not found as expected"
|
||||
echo Checking that the copied functions are identical other than the name
|
||||
diff (functions name1 | psub) (functions name1a | psub)
|
||||
diff (functions name3 | psub) (functions name3a | psub)
|
||||
# The diff would cause us to exit with a non-zero status even if it produces
|
||||
# the expected output.
|
||||
|
||||
exit 0
|
||||
|
||||
Reference in New Issue
Block a user