Make type fuction handle hidden functions

darcs-hash:20051211222603-ac50b-e846b05b27d2e2c072c760baa1e067f9484636e3.gz
This commit is contained in:
axel 2005-12-12 08:26:03 +10:00
parent 1d69e70b7a
commit bb591a69c9

View file

@ -653,7 +653,7 @@ function type -d "Print the type of a command"
if test $selection != files
if contains -- $i (functions -n)
if contains -- $i (functions -na)
set status 0
set found 1
switch $mode