分析炮弹的历史
shell-history-analysis的Python项目详细描述
使用
# Get the history file $ history > history.txt # Install $ pip install shell_history_analysis # You have to know which shell you have# This is important, because the `history` command has different outputs in# different shells.# Fish shell has only the command itself as an output. $ shell_history_analysis history.txt --shell=zsh Assumed shell: zsh Grouping filepath: /home/moose/GitHub/shell-history-analysis/shell_history_analysis/grouping.yaml CLI Utils 2731 git 2498 Python 1536 Editor(s)905 System Package Manager 271 Dev-Tools 203 Docker 187 System Management 160 mutmut 153 CLI Programs 88 pipenv 53 clana 43 conda 36 exercism 33 7z 21 hwrt 21 Shell Scripting 21 pandoc 21 gzip 20 Name: base_command, dtype: int64 Writing image to /home/moose/history.png
分组和匿名
您可以提供一个grouping.yaml
文件来将命令组合在一起。违约
如下所示:
- 项目
标签: