From fd2254bce0e49edab3b0dd58ad005acbd3e86f49 Mon Sep 17 00:00:00 2001 From: DarkWiiPlayer Date: Wed, 29 Jan 2020 13:28:14 +0100 Subject: [PATCH] Add manpages for farfetched, mansplain and scratch --- manpages/man1/farfetched.1 | 29 +++++++++++++++++++++++++++++ manpages/man1/mansplain.1 | 33 +++++++++++++++++++++++++++++++++ manpages/man1/scratch.1 | 35 +++++++++++++++++++++++++++++++++++ 3 files changed, 97 insertions(+) create mode 100644 manpages/man1/farfetched.1 create mode 100644 manpages/man1/mansplain.1 create mode 100644 manpages/man1/scratch.1 diff --git a/manpages/man1/farfetched.1 b/manpages/man1/farfetched.1 new file mode 100644 index 0000000..323a66f --- /dev/null +++ b/manpages/man1/farfetched.1 @@ -0,0 +1,29 @@ +.TH farfetched 1 "" "" "Fetches across great distances" + +.SH NAME +.\" ##### + +\fBfarfetched\fR - fetches git repositories recursively in other directories + +.SH SYNOPSIS + +\fBfarfetched\fR [directory] + +.SH DESCRIPTION + +\fBfarfetched\fR fetches all the gitrepositories within a given directory recursively. +If no directory is given, the current working directory is used instead. + +.SH OPTIONS + +\fBdirectory\fR - the directory to fetch in, defaults to \fB.\fR + +.SH AUTHOR + +\fBDarkWiiPlayer\fR + +.SH SEE ALSO + +\fBgit(1)\fR, +\fBgit-fetch(1)\fR, +\fBfind(1)\fR diff --git a/manpages/man1/mansplain.1 b/manpages/man1/mansplain.1 new file mode 100644 index 0000000..aff37bb --- /dev/null +++ b/manpages/man1/mansplain.1 @@ -0,0 +1,33 @@ +.TH mansplain 1 "" "" "Explains things like you don't know" + +.SH NAME +.\" ##### + +\fBmansplain\fR - shows a selected manpage in zathura + +.SH SYNOPSIS + +\fBmansplain\fR + +.SH DESCRIPTION + +\fBmansplain\fR presents the user a menu to select a manpage. +It then shows the selected manpage in a PDF viewer in a separate window. + +.SH OPTIONS + +\fBnone\fR - mansplain accepts no options as of yet + +.SH TODO + +mansplain should accept an optional argument to select a manpage directly without showing any menu. + +.SH AUTHOR + +\fBDarkWiiPlayer\fR + +.SH SEE ALSO + +\fBman(1)\fR, +\fBdmenu(1)\fR, +\fBzathura(1)\fR diff --git a/manpages/man1/scratch.1 b/manpages/man1/scratch.1 new file mode 100644 index 0000000..2404515 --- /dev/null +++ b/manpages/man1/scratch.1 @@ -0,0 +1,35 @@ +.TH scratch 1 "" "" "Gives you a directory from scratch" + +.SH NAME +.\" ##### + +\fBscratch\fR - Creates a temporary directory to work in and deletes it when done + +.SH SYNOPSIS + +\fBscratch\fR +.br +\fBscratch\fR command + +.SH DESCRIPTION + +\fBscratch\fR creates a temporary directory and starts bash with a hook +to delete the directory after it exits. +When a command is given, the command is started instead of bash. + +.SH OPTIONS + +\fBcommand\fR - runs this command in the temporary directory and returns instantly when it finishes. + +.SH VARIABLES + +scratch sets the \fB$scratch\fR environment variable to the new directory before executing the command. + +.SH AUTHOR + +\fBDarkWiiPlayer\fR + +.SH SEE ALSO + +\fBmktemp(1)\fR, +\fBbash(1)\fR