iFix mistakes in man page using mandoc -Tlint validator - notes - a console notes manager using git Err bitreich.org 70 1Log /scm/notes/log.gph bitreich.org 70 1Files /scm/notes/files.gph bitreich.org 70 1Refs /scm/notes/refs.gph bitreich.org 70 1Tags /scm/notes/tag bitreich.org 70 1LICENSE /scm/notes/file/LICENSE.gph bitreich.org 70 i--- Err bitreich.org 70 1commit f85c42c86d300ca7c0ae06e0a7fe90dfa00996dd /scm/notes/commit/f85c42c86d300ca7c0ae06e0a7fe90dfa00996dd.gph bitreich.org 70 1parent f7e73487c7dd40d2589d1797bacfb023e57ae722 /scm/notes/commit/f7e73487c7dd40d2589d1797bacfb023e57ae722.gph bitreich.org 70 hAuthor: Solene Rapenne URL:mailto:solene@perso.pw bitreich.org 70 iDate: Mon, 1 Jul 2019 19:43:54 +0200 Err bitreich.org 70 i Err bitreich.org 70 iFix mistakes in man page using mandoc -Tlint validator Err bitreich.org 70 i Err bitreich.org 70 iDiffstat: Err bitreich.org 70 i M notes.1 | 72 ++++++++++++++++---------------- Err bitreich.org 70 i Err bitreich.org 70 i1 file changed, 36 insertions(+), 36 deletions(-) Err bitreich.org 70 i--- Err bitreich.org 70 1diff --git a/notes.1 b/notes.1 /scm/notes/file/notes.1.gph bitreich.org 70 i@@ -13,40 +13,35 @@ Err bitreich.org 70 i is a shell script to ease plain-text notes taking and keeping history of editions with git. Err bitreich.org 70 i .Pp Err bitreich.org 70 i .Nm Err bitreich.org 70 i-helps working on plain text files inside a directory versioned with git. It provides commands Err bitreich.org 70 i-to display last modified files, history of a file, start a text editor for editing. Every time Err bitreich.org 70 i+helps working on plain text files inside a directory versioned with git. Err bitreich.org 70 i+It provides commands to display last modified files, history of a file, Err bitreich.org 70 i+start a text editor for editing. Err bitreich.org 70 i+Every time Err bitreich.org 70 i .Nm Err bitreich.org 70 i is called to edit a file, changes are commited. Err bitreich.org 70 i-.Pp Err bitreich.org 70 i .Sh COMMANDS Err bitreich.org 70 i .Bl -tag -width Ds Err bitreich.org 70 i-.It Nm Cm Op ls Err bitreich.org 70 i-Show the repository tree with colours using Err bitreich.org 70 i-.Xr colortree 1 Err bitreich.org 70 i-if the command is available or fallback to a simple file list. Err bitreich.org 70 i+.It Nm Op ls Err bitreich.org 70 i+Show the repository tree as a file list. Err bitreich.org 70 i .It Nm Oo edit Oc file Err bitreich.org 70 i execute $EDITOR on Err bitreich.org 70 i .Ar file Err bitreich.org 70 i and then call Err bitreich.org 70 i .Xr git 1 Err bitreich.org 70 i-to commit the changes on this file. The commit message is always Err bitreich.org 70 i+to commit the changes on this file. Err bitreich.org 70 i+The commit message is always Err bitreich.org 70 i .Ql Edited by $USER Err bitreich.org 70 i- Err bitreich.org 70 i-If $EDITOR is not sets, Err bitreich.org 70 i+.sp Err bitreich.org 70 i+If $EDITOR is not sets, Err bitreich.org 70 i .Nm Err bitreich.org 70 i-will try to find the first editor available using the command Err bitreich.org 70 i-.Xr type Err bitreich.org 70 i-in the following order: Err bitreich.org 70 i-.Xr nvim 1 Err bitreich.org 70 i-, Err bitreich.org 70 i-.Xr vim 1 Err bitreich.org 70 i-, Err bitreich.org 70 i-.Xr emacs 1 Err bitreich.org 70 i-, Err bitreich.org 70 i+will try to find the first editor available using the command type in the following order: Err bitreich.org 70 i+.Xr nvim 1 , Err bitreich.org 70 i+.Xr vim 1 , Err bitreich.org 70 i+.Xr emacs 1 , Err bitreich.org 70 i .Xr vi 1 Err bitreich.org 70 i and will default to Err bitreich.org 70 i .Xr ed 1 if none of the previous is found. Err bitreich.org 70 i- Err bitreich.org 70 i+.sp Err bitreich.org 70 i The edit parameter can be used if you need to edit a file which name correspond to a Err bitreich.org 70 i .Nm Err bitreich.org 70 i single argument command like in Err bitreich.org 70 i@@ -57,17 +52,18 @@ Display the content of Err bitreich.org 70 i on standard output. Err bitreich.org 70 i .It Nm Cm history Ar file Err bitreich.org 70 i Execute Err bitreich.org 70 i-.Xr tig 1 Err bitreich.org 70 i+.Xr tig 1 Err bitreich.org 70 i on Err bitreich.org 70 i .Ar file Err bitreich.org 70 i to display commit history. Err bitreich.org 70 i .It Nm Cm last Op limit Err bitreich.org 70 i-display files and their last commit time ordered by time. If Err bitreich.org 70 i+display files and their last commit time ordered by time. Err bitreich.org 70 i+If Err bitreich.org 70 i .Ar limit Err bitreich.org 70 i is passed, only Err bitreich.org 70 i .Ar limit Err bitreich.org 70 i lines are displayed. Err bitreich.org 70 i- Err bitreich.org 70 i+.sp Err bitreich.org 70 i This is useful to find which files have been modified lastly. Err bitreich.org 70 i .It Nm Cm init Err bitreich.org 70 i Initialise the git repository using the command Err bitreich.org 70 i@@ -79,34 +75,38 @@ delete Err bitreich.org 70 i .Ar file Err bitreich.org 70 i and commit the deletion within git. Err bitreich.org 70 i .It Nm Cm _list Op path Err bitreich.org 70 i-return a raw list of files. This has been made to provide a file list for shell completion. Err bitreich.org 70 i- Err bitreich.org 70 i+return a raw list of files. Err bitreich.org 70 i+This has been made to provide a file list for shell completion. Err bitreich.org 70 i If Err bitreich.org 70 i .Ar path Err bitreich.org 70 i-is set, then only files inside the path will be displayed. This can be useful if you want only Err bitreich.org 70 i+is set, then only files inside the path will be displayed. Err bitreich.org 70 i+This can be useful if you want only Err bitreich.org 70 i one folder from your tree. Err bitreich.org 70 i-.Sh FILES Err bitreich.org 70 i-.Bl -tag -width "~/notes" -compact Err bitreich.org 70 i-.It Pa ~/notes Err bitreich.org 70 i-default directory where Err bitreich.org 70 i-.Nm Err bitreich.org 70 i-will create a git repository. Err bitreich.org 70 i+.El Err bitreich.org 70 i .Sh ENVIRONMENT Err bitreich.org 70 i .Bl -tag -width EDITOR Err bitreich.org 70 i .It Ev REPO Err bitreich.org 70 i The directory where Err bitreich.org 70 i .Nm Err bitreich.org 70 i-will work from. It will override the default directory or allows to takes Err bitreich.org 70 i+will work from. Err bitreich.org 70 i+It will override the default directory or allows to takes Err bitreich.org 70 i notes in different repositories. Err bitreich.org 70 i .It Ev EDITOR Err bitreich.org 70 i The location of the text editor used by Err bitreich.org 70 i .Nm Err bitreich.org 70 i-.Sh EXIT Err bitreich.org 70 i+.El Err bitreich.org 70 i+.Sh FILES Err bitreich.org 70 i+.Bl -tag -width "~/notes" -compact Err bitreich.org 70 i+.It Pa ~/notes Err bitreich.org 70 i+default directory where Err bitreich.org 70 i+.Nm Err bitreich.org 70 i+will create a git repository. Err bitreich.org 70 i+.El Err bitreich.org 70 i+.Sh EXIT Err bitreich.org 70 i .Ex -std notes Err bitreich.org 70 i .Sh SEE ALSO Err bitreich.org 70 i-.Xr git 1 Err bitreich.org 70 i+.Xr git 1 , Err bitreich.org 70 i .Xr tig 1 Err bitreich.org 70 i-.Xr colortree 1 Err bitreich.org 70 i .Sh Authors Err bitreich.org 70 i .An -nosplit Err bitreich.org 70 i The Err bitreich.org 70 .