topalias: utility for generating short aliases from bash/zsh history

An Open Source utility for generating short aliases for bash/zsh history has been published on GitHub: https://github.com/CSRedRat/topalias

Tasks that the program solves:

  • Analysis of ~/.bash_aliases, ~/.bash_history, ~/.zsh_history files with command execution history in Linux terminal in Bash/Zsh shell
  • Offers short abbreviations (acronyms) for long, long-typing and hard-to-remember, but frequently used commands (although you might not even know about it)
  • Displays some statistics
  • Handles control parameters

Installation and launch:

pip install topalias
python -m topalias

If someone is interested in the structure of the project - write, please. There is an idea to make an up-to-date template for new projects in Python, including CI / CI (GitHub Actions, GitLab CI, Travis CI, git pre-commit hooks), project fish tested by linters out of the box, running the program as a python package,
module script.

Source: linux.org.ru