A (currently very small) collection of utility commands with rich features:
- Timestamped history
- Clipboard integration
Installation
Requirements
- go 1.19+, gcc, Cgo
- Linux: X11 dev package, e.g. libx11-dev, xorg-dev or libX11-devel.
go install github.com/jbchouinard/multitool@latest
Commands
uuid
multitool uuid [--v4]
Generate a UUID (default: V1).
set
multitool set <key> <value>
Set an option value.
| Key |
Values |
Default |
Details |
| clipboard |
yes/no |
no |
Enable clipboard integration. |
| history |
yes/no |
yes |
Save history. |
unset
multitool unset <key>
Unset an option value.
get
multitool get <key>
Show the current value of an option.
history
multitool history <command>
Show history for a command.
purge
multitool purge [--keep-days n]
Purge history, keeping n days (default: 7);
Files
multitool tries to stores its files in <HOME>/.multitool. If that fails, it tries <CURRENTDIR>/.multitool.
The location can be changed by setting the MULTITOOL_DIR environment variable.
License
Copyright 2022 Jerome Boisvert-Chouinard, under MIT License.