diff options
| author | Bruce Hill <bruce@bruce-hill.com> | 2019-10-03 13:35:42 -0700 |
|---|---|---|
| committer | Bruce Hill <bruce@bruce-hill.com> | 2019-10-03 13:35:42 -0700 |
| commit | 9c01fd6a372b461589733d35f62d9f914dd441f8 (patch) | |
| tree | 001b009f3faa336cd7c7d4e8e20c67b2866e32b7 /bb.1 | |
| parent | 38497d5619f91c2804a545999a7920ba3e5c615f (diff) | |
Updated docs.
Diffstat (limited to 'bb.1')
| -rw-r--r-- | bb.1 | 25 |
1 files changed, 19 insertions, 6 deletions
@@ -8,7 +8,9 @@ bb \- A bitty browser for command line file management [\fI-d\fR] [\fI-s\fR] [\fI-0\fR] -[\fI+command... \fR] +[\fI-v\fR|\fI--version\fR] +[\fI-h\fR|\fI--help\fR] +[\fI+command\fR]* [\fIdirectory\fR] .SH DESCRIPTION \fBbb\fR is a tiny TUI console application for browsing and managing files. @@ -26,12 +28,17 @@ newline-separated. .B \-d Print the current directory on exit. -.B \+command -From within \fBbb\fR, running \fBbb +command\fR will execute an internal bb -command for modifying bb's state. +.B \--version +Print the version and exit. + +.B \--help +Print the usage and exit. + +.B +command +As soon as \fBbb\fR has launched, run the given command. .B directory -Open to this directory. +Open \fBbb\fR viewing this directory. .SH CONTROLS For full details on all key bindings, press \fB?\fR from inside \fBbb\fR to get @@ -52,6 +59,7 @@ cleared by pressing \fBEscape\fR. .B Mouse: Clicking on a file will move the cursor to it. Double clicking will open it. Clicking on the '*' column of a file will toggle that file's selection. +Clicking on a column's label will sort according to that column. .SH EXAMPLES .TP @@ -61,7 +69,7 @@ Begin browsing in /usr/local/ .TP .B -alias bb="cd '`/usr/local/bin/bb -d || pwd`'" +alias bcd="cd '`bb -d`'" Create an alias to launch \fBbb\fR and change directory to wherever it's located when you exit (unless you exit with Ctrl-c). @@ -70,5 +78,10 @@ when you exit (unless you exit with Ctrl-c). bb -s -0 | xargs -0 zip archive.zip Select some files to add to a zip archive. +.TP +.B +bb +select: *.txt +Launch \fBbb\fR with all the .txt files in the current directory selected. + .SH AUTHOR Bruce Hill (bruce@bruce-hill.com) |
