.TH REMEMBERING 1 @DATE@ "remembering @VERSION@" . . .SH NAME remembering - sort list using previous choices as weight . . .SH SYNOPSYS .P \fBremembering\fR -p \fIPROFILE\fR -c \fICOMMAND\fR . . .SH DESCRIPTION .P \fBremembering\fR takes a command that chooses an option as its behaviour, such as \fBfzf\fR(1) or \fBdmenu\fR(1) and \fIremembers\fR what option is chosen, and as it is used, will put the most used choices at the beginning of the list. .P \fBremembering\fR reads from STDIN and writes to STDOUT. It expects STDIN to be sorted. . . .SH OPTIONS . .TP .B -c COMMAND The \fICOMMAND\fR to be executed, reading from standard input (STDIN). . .TP .B -p PROFILE The name of the \fIPROFILE\fR where to look up and store raking data. . .TP .B -h Show short help text. . .TP .B -V Show version number. . . .SH EXAMPLES .P List current directory and feed it to \fBfzf\fR(1) via \fBremembering\fR: .nf $ ls | remembering -p fzf-ls -c fzf .fi . .P Lists all executables available in \fI$PATH\fR, and feed those to \fBdmenu\fR(1) via \fBremembering\fR, and execute with \fBsh\fR(1) the choice picked: .nf $ dmenu_path | remembering -p dmenu-exe -c 'dmenu' | sh .fi . .P Successive invocations will put the frequent choices at the beginning. . . .SH SEE ALSO .P \fBremembering\fR(5) . . .SH AUTHORS .P EuAndreh .MT eu@euandre.org .ME and contributors. . . .SH BUGS Report bugs to: .MT ~euandreh/public-inbox@lists.sr.ht .ME .br Browse bugs at: .UR https://euandreh.xyz/remembering/TODOs.html .UE .br Home page: .UR https://euandreh.xyz/remembering/ .UE .br Discussions: .UR https://lists.sr.ht/~euandreh/public-inbox?search=[remembering] .UE