bashlytics

0.1.3 • Public • Published

Bashlytics

Bashlyics is a program which monitors terminal usage and reports the most used frequently used commands over time.

Setup

Place the following content in ~/.bash_profile or ~/.bashrc

# Begin Bashlytics
shopt -s histappend
PROMPT_COMMAND="history -a;$PROMPT_COMMAND"
HISTTIMEFORMAT='%F %T %t'
# End Bashlytics

Start the monitoring process:

npm start

Viewing stats

You can simply run ./bin/stats.js at any time to see a table reported in the command line with the most-used stats. The npm start command also starts up a webserver and you can view your stats in a browser. By default the site will load at: http://localhost:4567

Readme

Keywords

none

Package Sidebar

Install

npm i bashlytics

Weekly Downloads

0

Version

0.1.3

License

MPL-2.0

Last publish

Collaborators

  • kevingrandon