/ functions / helpful.bash
helpful.bash
 1  # A function to have a list of commands that could help when doing shit...
 2  # It uses vim because of it's possibility to link in help files
 3  # And one doesn't need a converter for markdown or whatever
 4  # type ":help help-writing" for more information and a nice little rabbit hole
 5  
 6  if which vim &> /dev/null ; then
 7      function helpful(){
 8      (
 9          cd "${_helpfulCommandsDir}"
10          # Generate tags at each call
11          vim -R -c "helpt ++t ." index.txt
12      )
13      }
14  fi