lazyme

Crates.iolazyme
lib.rslazyme
version0.0.3
sourcesrc
created_at2024-01-15 09:38:10.679874
updated_at2024-01-15 09:44:23.873468
descriptionDisplay your most used shell commands count
homepage
repositoryhttps://github.com/pawurb/lazyme-rust
max_upload_size
id1100191
size17,973
Paweł Urbanek (pawurb)

documentation

README

Lazyme Latest Version

Lazyme is a simple tool that helps you optimise your laziness. It displays your most often used shell commands so that you can change them into aliases and eventually type less.

Installation

cargo install lazyme

Usage

lazyme =>
+---------------------------------------------+-------+
|                     Lazyme                          |
+---------------------------------------------+-------+
|...                                          | ...   |
| ei                                          | 21    |
| gpstg                                       | 22    |
| gstp                                        | 23    |
| zs                                          | 28    |
| s .                                         | 30    |
| zrr                                         | 32    |
| gpshh                                       | 60    |
| rss                                         | 70    |
| c                                           | 75    |
| gd                                          | 107   |
| o .                                         | 123   |
| gst                                         | 130   |
| ls                                          | 179   |
| gl                                          | 310   |
| gp                                          | 445   |
| gds                                         | 540   |
| gaa                                         | 817   |
| g                                           | 3365  |
+---------------------------------------------+-------+
| Command                                     | Count |
+---------------------------------------------+-------+

By default it parses $HOME/.bash_history or $HOME/.zsh_history. Optionally you can provide a custom history file path:

lazyme ~/Users/me/.my_history

You can set aliases by adding following lines into your .bashrc or .zshrc files:

alias gr='grep --color'
alias gaa='git add . -A'
Commit count: 0

cargo fmt