Tsukae, δ½Ώγ - means use in Japanese (so it refers to commands that you use)
Built on top of termui and cobra
Big shoutout to jokerj40 for suggesting this project idea (the original thought was to parse the history file)
go get -u github.com/irevenko/tsukae
tsukae <SHELL_NAME>
AUR package
<SHELL_NAME>
- zsh or bash or fish
-p, --piechart
- use with <SHELL_NAME>
(draws only piechart widget)
-b, --barchart
- use with <SHELL_NAME>
(draws only barchart widget)
-l, --list
- use with <SHELL_NAME>
(draws only list widget)
-s, --shell-path
- use with <SHELL_NAME>
Manualy provide the history file path
tsukae <SHELL_NAME> -p
tsukae <SHELL_NAME> -b
tsukae <SHELL_NAME> -l
tsukae <SHELL_NAME> 10
tsukae <SHELL_NAME> 10 -p
tsukae <SHELL_NAME> 5 -b
tsukae <SHELL_NAME> 3 -l
tsukae <SHELL_NAME> -s=$HOME/dir/hist_file
When you run tsukae
for the first time it creates the blacklist file in $HOME/.config/tsukae
and you can prevent some commands from displaying
Example of blacklist file:
echo
clear
cd
Contributions, issues and feature requests are welcome! π
Feel free to check open issues.
git clone https://github.com/irevenko/tsukae.git
cd tsukae
go get -d ./...
go build
- Parsing Text Files using Go
- Drawing termui
(c) 2021 Ilya Revenko. MIT License