|
|
|
|
|
by kissgyorgy
2460 days ago
|
|
Once I tried a tool like this, but just realized, there is already a method of that: the ~/bin folder. You can write bash scripts, or scripts in any programming language with the proper shebang line, you can download other people's scripts, and you don't need bash history to keep them. Listing all of them is just an ls. I tend to not put file extensions of them and use good naming, so you can see everything without looking into them. |
|
One thing I'd add to this is that "crib notes" can be captured in man[0] pages. For example, having them in $HOME/man and ensuring MANPATH[1] includes it serves as a nice complement IMHO. There seems to be a markdown-based tool[2] which can assist in authoring them too.
EDIT: It looks like pandoc[3] can generate man pages from markdown as well.
0 - https://forums.freebsd.org/threads/howto-create-a-manpage-fr...
1 - https://www.freebsd.org/cgi/man.cgi?query=man&apropos=0&sekt...
2 - https://spin.atomicobject.com/2015/05/06/man-pages-in-markdo...
3 - https://pandoc.org/MANUAL.html