Safe Haskell | None |
---|---|
Language | Haskell2010 |
Synopsis
- writeManpages :: FilePath -> FilePath -> IO ()
- writeBashCompletions :: String -> IO ()
- setManpath :: IO ()
- writeTheFuck :: IO ()
Documentation
As an example, if your source tarball contains a file man/madlang.1
you
could use
writeManpages "man/madlang.1" "madlang.1"
Add a line to the user's bashrc
so that command-line completions work
automatically.
setManpath :: IO () Source #
Add a line exporting the modified MANPATH
to the user's bashrc
, if it
does not exist already.
writeTheFuck :: IO () Source #
Write a set of rules based on optparse-applicative for the command-line tool fuck.