lazy_cli

Analyze command history and suggest aliases so you can type less.


Keywords
aliases, ruby, zsh
License
MIT
Install
gem install lazy_cli -v 0.1.0

Documentation

Gem Version

lazy

Script used to analyze my systems shell history (ZSH in this case) and print out the most frequent commands.

This can be used to identify potential aliases, allowing you to type less.

Installation

gem install lazy_cli

Usage

By default, running lazy will yield the top 10 most used commands.

ruby main.rb

You can specify the number of commands you want to output by passing in a num (-n or --num).

ruby main.rb -n 1