Skip to content

Instantly share code, notes, and snippets.

@brandonpittman
Created January 6, 2017 00:55
Show Gist options
  • Star 0 You must be signed in to star a gist
  • Fork 0 You must be signed in to fork a gist
  • Save brandonpittman/81ccb6833d151395fee8d68efb15db72 to your computer and use it in GitHub Desktop.
Save brandonpittman/81ccb6833d151395fee8d68efb15db72 to your computer and use it in GitHub Desktop.
Fish function for using writing scripts
# Check out the individual writing scripts here:
# http://matt.might.net/articles/shell-scripts-for-passive-voice-weasel-words-duplicates/
# red is wrapper for the fish utility "cprintf" that uses `cprintf "<fg:red>%s</fg>" "Weasel words:"`
function proof --description 'Check writing for dups, passive voice and weasel words'
red "Weasel words:"
weasel $argv
red "Passive voice:"
passive $argv
red "duplicates:"
dups $argv
end
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment