3

!rant

I just added a custom zsh function to read .md files in iTerm. Life is going to be a lot easier now!

Comments
  • 0
  • 0
    @python3 it requires Pandoc and Lynx so install those as necessary for your system (brew install pandoc lynx if you’re using Homebrew on Mac) then in your relevant shell profile (.zshrc if using ZSh, although I keep my aliases and commands in their own custom files do I can sync them nicely) you can add

    readmd () { pandoc $1 | lynx -stdin }

    Then just readmd /path/to/md
Add Comment