Skip to content

gabebw/most-used

main
Switch branches/tags

Name already in use

A tag already exists with the provided branch name. Many Git commands accept both tag and branch names, so creating this branch may cause unexpected behavior. Are you sure you want to create this branch?
Code

Latest commit

 

Git stats

Files

Permalink
Failed to load latest commit information.
Type
Name
Latest commit message
Commit time
app
 
 
bin
 
 
src
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 

most-used Build Status

This will find your most-used shell commands. It automatically detects whether you're using Zsh or Bash and prints out the history for the correct shell.

To try it out:

$ brew tap gabebw/formulae
$ brew install most-used
$ most-used | head

Local development

After changing something, you can run this to recompile and see the result of parsing history:

./bin/run-zsh

Or, to parse your Bash history:

./bin/run-bash

You can also pass options:

./bin/run-zsh --include-first-argument=git --include-first-argument=spring

To print lines that failed to parse:

./bin/run-zsh --debug

To run tests:

./bin/test

About

Find your most-used shell commands

Topics

Resources

License

Stars

Watchers

Forks

Packages

No packages published