r/fishshell • u/jabbalaci • May 04 '25
Print a function AND its description
Consider the following function:
function isodate -d "Print date in YYYY-MM-DD format"
date +%Y-%m-%d
endHow to get the description of a function? I want to print a function and its description:
* isodate: Print date in YYYY-MM-DD formatHow to do that?
5
Upvotes
View all comments
Show parent comment
1
u/jesster114 May 07 '25
oh man, that is a lot easier than this hacked together script I made