dotfiles

My dotfiles, nothing really interesting to see ...
git clone https://git.onna.be/dotfiles.git
Log | Files | Refs | README

commit f92801de17f1a64be4dee85449592196959409e6
parent 011a17cd269f7d8f56148bc110765f26638ba1c0
Author: Paco Esteban <paco@onna.be>
Date:   Sat, 10 Nov 2018 20:00:36 +0100

littel helper for man notes. This idea is taken from tfurrows@sdf

Diffstat:
bin/bin/mman | 20++++++++++++++++++++
1 file changed, 20 insertions(+), 0 deletions(-)

diff --git a/bin/bin/mman b/bin/bin/mman @@ -0,0 +1,20 @@ +#!/bin/sh + +# mman displays your notes on man commands from your vimwiki +# $Id$ + +if [ "$#" -lt "1" ]; then + echo "Usage: mman <command>" + exit 1 +fi + +MMANFILE="$HOME/Sync/vimwiki/man_notes/${1}.wiki" + +if [ ! -f "$MMANFILE" ]; then + echo "You haven't written a mman page for \"$1\", go do it now." + exit 1 +fi + +$PAGER $MMANFILE + +# vim:ft=sh: