Crates.io | dhist |
lib.rs | dhist |
version | 0.1.1 |
source | src |
created_at | 2021-12-09 04:51:06.95898 |
updated_at | 2022-02-18 23:09:00.413115 |
description | Save and sort most often used dmenu-like input |
homepage | |
repository | |
max_upload_size | |
id | 494973 |
size | 21,354 |
Save and sort most often used dmenu-like input
USAGE:
dhist [OPTIONS] <SUBCOMMAND>
OPTIONS:
-h, --help Print help information
SUBCOMMANDS:
help Print this message or the help of the given subcommand(s)
increment Increase usage of input by 1
query Print history
sort Sort input by history frequency
wrap Wrap a command to sort before and increment after
# sort input of dmenu based on usage
printf "%s\n" hello world | dhist wrap -- dmenu
# same as above, but more verbose
# dhist increment also prints out it's input, so you can still use it for another program
printf "%s\n" hello world | dhist sort | dmenu | dhist increment