Skip to main content
4 events
when toggle format what by license comment
Oct 10, 2021 at 19:21 comment added WestCoastProjects ok upvoted for the info since it applies to other shells (useful for other folks)
Oct 10, 2021 at 19:16 comment added Marc Wilson Yes, type shows the function definition, but only in bash. The shell should already be completing the defined functions when they are first on the command line. If you are expecting them to be completed as an argument to some other command, ksh won't do that. Bash or zsh, you'd have to write your own completion logic to change what the shell tries to complete against post first entry on the command line.
Oct 10, 2021 at 18:57 comment added WestCoastProjects My question is about how to get automatic listing of the function names. Yes typeset -f can show the definition- but so does type itself: but it seems neither one can use tab completion to find the available functions meeting a prefix
Oct 10, 2021 at 16:54 history answered Marc Wilson CC BY-SA 4.0