citadel

My dotfiles, scripts and nix configs
git clone git://jb55.com/citadel
Log | Files | Refs | README | LICENSE

mdr (219B)


      1 #!/usr/bin/env bash
      2 
      3 files=(readme.md README.md README.rst readme.rst)
      4 
      5 for f in "${files[@]}"; do
      6   if [ -f "$f" ]; then
      7     exec mandown "$f"
      8     exit 0
      9   fi
     10 done
     11 
     12 if [ -f README ]; then
     13   exec less README
     14 fi
     15 
     16 exit 1