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

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

Tasks that the program solves:

  • Analyzes the files ~/bash_aliases, ~/bash_history, ~/zsh_history containing command execution history in the Linux terminal using Bash/Zsh
  • Offers short acronyms for long, frequently typed, and hard-to-remember commands (even if you might not realize this)
  • Outputs some statistics
  • Processes control parameters

Installation and starting:

pip install topalias
python -m topalias

If anyone is interested in the project structure — please write. There is an idea to create a current template for new Python projects that includes CI/CD (GitHub Actions, GitLab CI, Travis CI, git pre-commit hooks), a project skeleton verified by linters out of the box, launching the program as a Python package,
module, script.

Source: linux.org.ru

Buy reliable website hosting with DDoS protection, VPS VDS servers 🔥 Buy reliable website hosting with DDoS protection, VPS VDS servers | ProHoster