Skip to main content

Copy output to clipboard.

Project description

Persistent aliases for package managers.

If you like the idea click ⭐ on the repo and tweet.

Installation

To install use pip:

xpip install xontrib-pm
# OR: xpip install -U git+https://github.com/anki-code/xontrib-pm

Usage

After loading xontrib-pm is searching the known package managers. If the package manager installed (e.g. pacman) the xontrib adds the aliases e.g. pacman-install, pacman-search, etc. The pm command returns the list of known installed package managers.

xontrib load pm
pm
# pacman, brew

# Type `pacman-` and press Tab
pacman-search vim    # sudo pacman -Ss vim
pacman-install vim   # sudo pacman -Sy vim

Feel free to extand the list of known package managers.

Supported package managers

PMs: apt, brew, guix, pacman, port, yum, zap. Feel free to add more, PR is welcome!

Commands

The list of commands that need to have the package manager aliases i.e. <package_manager>-<command>:

  • search - serach the package
  • install - install the package
  • uninstall - uninstall the package

Optinally:

  • instally (install and say yes) - install without user confirmation
  • installed - list of installed packages
  • Any other useful aliases e.g. pacman-upgrade-everything.

Credits

Project details


Download files

Download the file for your platform. If you're not sure which to choose, learn more about installing packages.

Source Distribution

xontrib_pm-0.3.4.tar.gz (3.9 kB view details)

Uploaded Source

Built Distribution

If you're not sure about the file name format, learn more about wheel file names.

xontrib_pm-0.3.4-py3-none-any.whl (4.3 kB view details)

Uploaded Python 3

File details

Details for the file xontrib_pm-0.3.4.tar.gz.

File metadata

  • Download URL: xontrib_pm-0.3.4.tar.gz
  • Upload date:
  • Size: 3.9 kB
  • Tags: Source
  • Uploaded using Trusted Publishing? No
  • Uploaded via: twine/6.2.0 CPython/3.9.25

File hashes

Hashes for xontrib_pm-0.3.4.tar.gz
Algorithm Hash digest
SHA256 9eaaa16c5b35f19e35464159d81ac607568dd3eeabb6f394d1d3a2f8b0b284ce
MD5 7dd6c5bd94c4892a8ae2635ea65d1ba6
BLAKE2b-256 8f8785f5a62bc74c0efa32b99fd7783d673b5f45790fe4eaf83d2c2b2d97129e

See more details on using hashes here.

File details

Details for the file xontrib_pm-0.3.4-py3-none-any.whl.

File metadata

  • Download URL: xontrib_pm-0.3.4-py3-none-any.whl
  • Upload date:
  • Size: 4.3 kB
  • Tags: Python 3
  • Uploaded using Trusted Publishing? No
  • Uploaded via: twine/6.2.0 CPython/3.9.25

File hashes

Hashes for xontrib_pm-0.3.4-py3-none-any.whl
Algorithm Hash digest
SHA256 d3f7bb9f87b515ba679e825ad23694d88a7fd35c0b568afae8beda815897ff66
MD5 ca454ab9a524663828546b94cbb6d5e0
BLAKE2b-256 f2ab7d84aed919bc085f267088d56ce7413ce356d0952075bd94ca9a9d509781

See more details on using hashes here.

Supported by

AWS Cloud computing and Security Sponsor Datadog Monitoring Depot Continuous Integration Fastly CDN Google Download Analytics Pingdom Monitoring Sentry Error logging StatusPage Status page