3 ms·
for those interested in an even more lightweight version of this and have zsh open all the time, I wrote a small zsh function that has proven to be invaluable.
by weaksauce 11y ago
for those interested in an even more lightweight version of this and have zsh open all the time, I wrote a small zsh function that has proven to be invaluable. basically all you do is type mm <tab> and then it lists all your files inside the personal "man" folder inside your home directory. basically ~/man/manpages/filename and you can create files easily that was too. by just typing `mm newfilename` and it will open up vi to that new file. no server at all and it works just dandy for notes and the like.
https://gist.github.com/anonymous/b751aee935dd7892e049 https://gist.github.com/anonymous/b751aee935dd7892e049
edit: you could probably make it a git directory and have a daemon watching that folder for changes and when changes happen you could have it commit that. just a thought.
- weaksauce 11y agoI can't edit it anymore but you need to edit your .zshrc file and put that in there. It's probably pretty basic but I thought I should say it. also, this is a good script to show as a template if you wanted to add your own basic tab completion to zsh.