https://github.com/daviskregers/history_analyzer
A tool to combine multiple history files and find most used commands
https://github.com/daviskregers/history_analyzer
bash
Last synced: 2 months ago
JSON representation
A tool to combine multiple history files and find most used commands
- Host: GitHub
- URL: https://github.com/daviskregers/history_analyzer
- Owner: daviskregers
- Created: 2020-04-13T03:04:09.000Z (about 6 years ago)
- Default Branch: master
- Last Pushed: 2020-04-13T03:04:29.000Z (about 6 years ago)
- Last Synced: 2025-06-07T12:05:07.864Z (about 1 year ago)
- Topics: bash
- Language: Shell
- Size: 0 Bytes
- Stars: 0
- Watchers: 2
- Forks: 0
- Open Issues: 0
-
Metadata Files:
- Readme: README.md
Awesome Lists containing this project
README
# Analyze history
A project for analyzing multiple bash/zsh history files I gathered from
multiple computers I use. The project simply concatenates these histories together and finds commands that are the most used commands.
This is used then to write aliases to improve workflow.
## Usage:
Find all of you history files like and put them into 1 folder like:
```
a.bash_history
a.zsh_history
b.bash_history
b.zsh_history
```
Run the analyze command.
```
./analyze.sh
```
Then it will show the most popular commands with times used.
```
➜ history_analyze git:(master) ✗ ./analyze.sh
135 git status
68 cd .dotfiles
61 git pull
```